Combine fulltext search with tag filtering through logical operators
  • Hi,

    I’m trying to figure if Superdesk can provide this sort of functionality.
    Essentially we are in a newsroom-like business which syndicates content
    out to many other websites. So we create various tags on our content,
    for example “Published” which could have values such as New York Times,
    LA Times, Seattle Times. This would indicate all the places that content
    has been syndicated to.

    When I perform a search on my content, say for the word baseball, I
    would like to be able to add a filter through tags, for example to
    search for the word “baseball” and also apply filters so that the result
    would only show those articles that have been given to LA Times and New
    York Times.

    Is it possible to create a search form with this functionality. I see it is possible to filter with one tag. On the blog I saw an example where the filter "Summer Olympics" is applied, but I would like to do a logical operation such as LA Times AND NY Times.

  • 1 Comment sorted by
  • hi, you can use raw query where you can use elastic query string so it would be something like:

    published:("summer olympics" AND "NY Times")