Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Graham Carr 277 posts 389 karma points
    Jul 07, 2014 @ 15:56
    Graham Carr
    0

    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

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jul 07, 2014 @ 18:14
    Matt Brailsford
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft