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

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -