Re: Analyzing CSV phrase fields

2008-11-25 Thread Yonik Seeley
The easiest solution would be to create the documents you send to solr with multiple keywords fields... they will be separated by a positionIncrement so a phrase query won't see yankees adjacent to cleveland. If you can't do that, then perhaps patch PatternTokenizer filter to put a larger position

Analyzing CSV phrase fields

2008-11-24 Thread Neal Richter
Hey all, Very basic question.. I want to index fields of comma separated values: Example document: id: 1 title: Football Teams keywords: philadelphia eagles, cleveland browns, new york jets id: 2 title: Baseball Teams keywords:"philadelphia phillies", "new york yankees", "cleveland indians" A q