solr - How to find documents where value exist in one field (product) but not in the other (companyName)... -


...and show companyname documents returned.

current example of search performed:

product:toys , not companyname:toys 

what expect list of documents contain term "toys" in product field not in companyname field. @ point believe happening returned results not contain companyname. using wrong syntax?

current results:

companyname: {} product: children toys  companyname: {} product: toys 

expected results:

companyname: xyz ltd. product: children toys  companyname: abc ltd. product: toys 

solr fields must stored values returned in results.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -