Re: Partial sentence match with block join

2015-12-16 Thread Yangrui Guo
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

Re: Partial sentence match with block join

2015-12-15 Thread Upayavira
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

Re: Partial sentence match with block join

2015-12-15 Thread Yangrui Guo
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

Re: Partial sentence match with block join

2015-12-15 Thread Jack Krupansky
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

Re: Partial sentence match with block join

2015-12-15 Thread Upayavira
"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

Partial sentence match with block join

2015-12-14 Thread Yangrui Guo
Hello I've been using 5.3.1. I would like to enable this feature: when user enters a query, the results should include documents that also partially match the query. For example, the document is Apple Company and user query is "apple computer company". Though the document is missing the term "comp