Hi Evan,

Confusing use case :)

You don't want "foo bar" is prefixed with "cat" ?

But you are ok with a document that has "cat foo bar"

Isn't this contradiction?




On Monday, April 28, 2014 6:26 PM, Evan Smith <e...@wingonwing.com> wrote:
Hello,

I would like to find all documents that have say "foo bar" with a filter to
remove any cases where "foo bar" is prefixed with things like "cat", "a",
...

I am ok with a document that has "cat foo bar"  and "foo bar", but if it
only has "cat foo bar" then I don't want it while if it has "foo bar" I want
it.

I looked at span queries but was not able to come up with how to phrase
this.

Any pointers would be great!

Thank you in advance,
Evan




--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-write-my-first-solr-query-tp4133509.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to