We have configured the "Mosets Tree 3" standard configuration and functioning fine.
The project requires a freelancer who has a good working knowledge of ‘Mosets Tree search module’ - changes to the php to do the following:
Standard Mosets Tree’s simple search - field and category dropdown works fine.
(it searches name, description and a selection of other core fields (under the heading of activity name (user types in tennis or hockey).
i/ We want to enhance the search by adding an additional input field, which searches fields address, county and city (heading location). The search will add these two input search terms together and output mosets results. Basic change so far.
ii/ enhance, what we also want is the search to exclude a set of common words if typed in the input, the, in, at, a, to etc., as we want to have the result to display better. At the moment if a word is imputed that is not present it return zero results, the or in. We want to reduce this, by ignoring irrelevant words. Ideally have these words placed in an xml/txt file that can be added to if needed and used as a source reference for the search to cross check against.
iii/ We have an additional Mosets Tree field for all listings called reference.
Eg. Listing – ‘Kent aquatics school’– has ‘swimming’ in reference field. So if a user types in swimming. It searches the ‘Reference field’ as well as the name, and returns results. This was implemented, as some listings do not name themselves after an activity. This works, however, swimming has variables, swimmer, swim, aquatics, we have added variables to all listings for swimming in the reference field (swim, swimmers etc) and it works, but we don’t want to add loads of reference variables to each individual listing reference field. Swimming, swimmers, aquatic – these all relate to swimming as a search term. We want the activity input search field to check the users input term against a list which will have a set of variable words for each reference term eg. swimming, hockey, football etc. Ideally placed in a reference file, that is called upon by the search, edited easily. We would rather use a method that would not effect the core joomla or moset tree due to future upgrades. But maybe a separate sql table or file. Open to options.
This option should also apply to the location input field to, as there are references for location, same field, but Hertfordshire, may have the variable herts.
iv/ Once above is working we want to apply to different pages (eg. Swimming Page) and comment out either location or activity, and display ‘activity’ swimming as default and location is the only active input field.