"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, then add a phrase version boosted:

"apple computer company"^2 (apple computer company)

Upayavira

On Tue, Dec 15, 2015, at 07:35 AM, Yangrui Guo wrote:
> 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 <name>Apple Company</name>
> and user query is "apple computer company". Though the document is
> missing
> the term "computer". I've tried phrase slop but it doesn't seem to be
> working with block join. How can I do this in solr?
> 
> Thanks
> 
> Yangrui

Reply via email to