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
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