Need more than one word in search results

BP Profile Search Need more than one word in search results

  • Author
    Post
  • #11819 Reply
    Kev
    Guest

    Hi there,

    I am currently using 1 search field to the following spec:

    Field: Any Profile Field
    Search Mode: Contains

    If I want to search profiles with at least 2 words, it will not return any users.
    For example, I have an ‘Industry’ and ‘Location’ field within user profiles.
    If I search for Manufacturing Glasgow, I receive no results. If I search Manufacturing or Glasgow on their own, they return results.
    I need the search results to show containing both or at least one of these words if both are included in the search.

    #11821 Reply
    andrea
    Plugin Author

    Hi Kev,

    If you search for Manufacturing Glasgow your results will contain that exact sequence of words and spaces.

    To get results containing one or both words, you can search for:

    Manufacturing OR Glasgow

    To get results containing both words, you can search for:

    Manufacturing AND Glasgow

    Please note that the AND and OR keywords must be in uppercase.

Reply to: Need more than one word in search results
My Information