Search API Extended Filters

Component ID

1871208

Component name

Search API Extended Filters

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Search API views integration module provides a fulltext search filter allowing to search content by querying some fulltext indexed fileds. This module add a dropdown to choose on which field process the query.

There is two different modes for this filter:

  • Search keys:
    • Provide a single filter which consists of a drop-down list that allows you to choose on which field to launch the query, and a textfield where you type the query
  • Search filter:
    • Provide the same single filter as in the previous mode, but add another drop-down list which allows you to create more filters and to combine them with boolean conjunctions (AND, OR).
    • In this mode, parentheses are "grouped to the right". What I mean is that if you are filtering on Filter1 AND Filter2 OR Filter3 AND Filter4, the query will looks like (Filter1 AND (Filter2 OR (Filter3 AND Filter4)))
    • Multiple words strings are splitted into words and combined with 'AND'. For example, Author=hugo victor => author:"hugo" AND author:"victor".