Hi Erik, what I'm trying to achieve here is trying to verify if we can run a query like this:
"\""IBM Ltd"~15\" \""Dublin Ireland"~15\""~100 on a field where the gaps are like this: <arr name="CompaniesData"> <str> IBM Ireland Ltd *gap of 30* Dublin USA *gap of 300* </str> <str> IBM Ltd *gap of 30* Dublin Ireland *gap of 300* </str> </arr> The first line cointains all the words I'm looking for, but the work "Ireland" is not within 15 tokens from the word "Dublin" so the query will not match that. It will match the second line. the 2 lines will stay separated with a 300 tokens gap so that there is no risk of false positives with words coming form the second line. I don't know if I was clear enough. -- View this message in context: http://lucene.472066.n3.nabble.com/PositionIncrementGap-inside-a-field-tp3666243p3666765.html Sent from the Solr - User mailing list archive at Nabble.com.