RE: how to write my first solr query

2014-04-28 Thread Evan Smith
Hello, Thank you! I will try out what you suggested and post back once I know more. yes given things like cat foo bar house foo bar foo bar I want to know when the term "foo bar" (but not the prefix cases I specify) exists in my documents. Thanks! Evan -- View this message in context: htt

Re: how to write my first solr query

2014-04-28 Thread Evan Smith
Hello, Here is a better use case Documents A, B, C, and D A: "dear foo bar hello" B: "dear cat foo bar hello" C: "dear cat foo bar hello foo bar" D: "dear car foo bar" I have a dictionary of items outside of solr "foo bar" and "cat foo bar" And associated with each item is the set of "suffix's

how to write my first solr query

2014-04-28 Thread Evan Smith
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 "fo