ruby on rails - Write a query for SOLR to exclude a some results -
actually searching string kalyana mandap , expecting following results: want results not contains kalyana mandap pharse result should contains kalyana , mandap , kalyana or mandap
for have written following query:
`kalyana mandap not "kalyana mandap"` but not giving results contains both word in documents. how modify query that?
try this
'kalyana or mandap not "kalyana mandap"'
Comments
Post a Comment