lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solr-user <>
Subject Re: how do I get search for "fort st john" to match "ft saint john"
Date Fri, 28 Mar 2014 17:52:07 GMT
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:
Sent from the Solr - User mailing list archive at

View raw message