0

I was just wondering if in sunspot solr we could do a search with the following logic:

keyword = orange OR red orange OR blue green

Thanks in advance for any inputs

Lester Celestial
  • 1,454
  • 1
  • 16
  • 26

2 Answers2

2

keywords("orange red blue"){minimum_match 1} will search for keyword = orange or red or blue.

the sunspot fulltext docs have a couple other methods to alter your search.

0

It may be a little bit vague of an explanation now, but it seems that sunspot solr enables you to adjust the search params before querying solr itself. I would update this answer once I get some time on my hands to work on this problem again.

Lester Celestial
  • 1,454
  • 1
  • 16
  • 26