yes, and I can see that (as expected) per the field type:

1. the indexed value is lowercased
2. stripped of non-alpha characters
3. multiple consecutive whitespace is removed
4. trimmed
5. goes thru the SynonymFilterFactory where:

a. the indexed value of "Marina/Former Fort Ord" is "marina former fort ord"
b. the search value of "Marina/Former Ft Ord" is "marina former ft ord"

This I already knew.  My question wasn't "why" they dont match, it is: how
do I get search for "fort st john" to match "ft saint john".  ie is there a
way to index/search that would allow the search to match.

the SynonymFilterFactory during indexing does not create a matching term for
"marina former ft ord", which I think it would do if the indexed value was a
word instead of a phrase (ie "fort" vs "Marina/Former Fort Ord")

(note that my terms/understanding of how this works may be incorrect, hence
my request for assistance/understanding)





--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-do-I-get-search-for-fort-st-john-to-match-ft-saint-john-tp4127231p4127764.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to