lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <rl...@leirtech.com>
Subject Re: How to implement the function of W/N in Solr?
Date Wed, 17 Jan 2018 02:35:12 GMT
Xi
Might this be something you can solve with pf or pf2? Google solr pf will find this for you.
Adjust the slop to allow for terms which are not immediately adjacent.
Rick

On January 15, 2018 3:04:40 AM EST, "xizhen.wang@incoshare.com" <xizhen.wang@incoshare.com>
wrote:
>Hello,
>
>I'm using Solr 4.10.3, and I want "A" and "B" are together, "C" and "D"
>are together, and the terms "B" and "C" are no more than 3 terms away
>from each other, by using {!surround} 3w("A B", "C D"), but it doesn't
>work.  Is there any other useful way?
>
>Any help is appreciated.
>
>
>
>xizhen.wang@incoshare.com

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message