You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bet Hel <be...@gmail.com> on 2014/11/24 15:24:00 UTC
use {!surround} with more conditions
Can't make surround work with other conditions...
for example:
{!surround}SomeField:30w(Text1*,Text2*) -SomeField:Text3*
SomeField:* -{!surround}SomeField:30w(Text1*,Text2*)
Is that doable?
Re: use {!surround} with more conditions
Posted by Ahmet Arslan <io...@yahoo.com.INVALID>.
Hi,
Not sure about SomeField:* but others should work.
You can move clauses that do not require surround to filter queries.
e.g. fq=-SomeField:Text3*
Ahmet
On Monday, November 24, 2014 4:33 PM, Bet Hel <be...@gmail.com> wrote:
Can't make surround work with other conditions...
for example:
{!surround}SomeField:30w(Text1*,Text2*) -SomeField:Text3*
SomeField:* -{!surround}SomeField:30w(Text1*,Text2*)
Is that doable?