lucene - Is Solr phrase slop order dependent or not? -
using default example docs , schema comes solr 4.7.0 (the 1 ipods etc.). a query phrase slop such as: http://localhost:8983/solr/collection1/select?wt=json&q=features:%22car%20white%22~4&fl=id,features&omitheader=true gives me 2 matching documents: { "response":{"numfound":2,"start":0,"docs":[ { "id":"f8v7067-apl-kit", "features":["car power adapter, white"]}, { "id":"iw-02", "features":["car power adapter ipod, white"]}] }} if change "car white" "white car" using same slop value of 4 first document in result. looking @ explain in browse, document returned in both queries says: (match) weight(features:"white car"~4 in 3) for other document, in first case says ..."car white"~4 in 4) changing order "white car" not match document. this seems ...