Can ezSearch be altered so that it searches on additional fields submitted within the form. I am currently creating a recruitment site and the search form along with having a free search box has dropdowns for information such as Workplace, Position and Subject.
If you have any small examples of how this might be implemented or if you have any different views on how to go about achieving this type of search within Umbraco 7 that would be great.
Yea, you should be able to easily modify the search to do some specific stuff. ezSearch just makes standard out of the box searches easier. If you look in the ezSearch.cshtml file, everything is housed in there and all it does is build up a Lucene query with some common filters, so just adding your custom filters in should work.
Take a look at this thread also from someone wanting to do something similar. They do it based on docTypes, but the theory and how to do it should be same:
Additional search parameters
Hi Matt,
Can ezSearch be altered so that it searches on additional fields submitted within the form. I am currently creating a recruitment site and the search form along with having a free search box has dropdowns for information such as Workplace, Position and Subject.
If you have any small examples of how this might be implemented or if you have any different views on how to go about achieving this type of search within Umbraco 7 that would be great.
Many thanks,
Graham
Hey Graham,
Yea, you should be able to easily modify the search to do some specific stuff. ezSearch just makes standard out of the box searches easier. If you look in the ezSearch.cshtml file, everything is housed in there and all it does is build up a Lucene query with some common filters, so just adding your custom filters in should work.
Take a look at this thread also from someone wanting to do something similar. They do it based on docTypes, but the theory and how to do it should be same:
http://our.umbraco.org/projects/website-utilities/ezsearch/bugs-feedback-suggestions/46587-Suggestion-(help-needed)-refine-search-by-content-type
If you have any more specific questions though, feel free to ask.
Matt
is working on a reply...