For example:
If company A is { name:"Apple Inc", location:"Los Alamos"} and company B is
{ name:"Banana Inc", location:"Los Angeles"} then if you only want to
retrieve company A you must use "Apple AND Inc AND Los AND Alamos"},
otherwise it will also retrieve company B. However if you use AND for
Cab you give an example? I cannot understand what you mean from your
description below.
Thx!
On Wed, Dec 16, 2015, at 12:42 AM, Yangrui Guo wrote:
> This will be a very common situation. Amazon and Google now display
> keywords missing in the document. However it seems that Solr parent-child
> s
This will be a very common situation. Amazon and Google now display
keywords missing in the document. However it seems that Solr parent-child
structure requires to use "AND" to confine all terms appear inside a single
child document, otherwise it will totally disregard the parent-child
structure. I
Set the default operator to OR and optionally set the mm parameter to 2 to
require at least two of the query terms to match, and don't quote the terms
as a phrase unless you want an exact (optionally sloppy) match.
Interesting example since I'll bet there are a lot of us who still think of
the com
"Apple Computer Company" is a phrase query, meaning all the words must
appear, in that order. Adding phrase slop just allows adjustments to the
location of those words, not making them optional.
If you want them to be optional, then do it as a regular query. If you
want a phrase to score better, t