I also get an issue with "." with edismax. For example: Dr. Smith gices me different results than "dr Smith"
On Thu, Mar 1, 2012 at 10:18 PM, Way Cool <way1.wayc...@gmail.com> wrote: > Thanks Ahmet! That's good to know someone else also tried to make phrase > queries to fix multi-word synonym issue. :-) > > > On Thu, Mar 1, 2012 at 1:42 AM, Ahmet Arslan <iori...@yahoo.com> wrote: > >> > I don't think mm will help here because it defaults to 100% >> > already by the >> > following code. >> >> Default behavior of mm has changed recently. So it is a good idea to >> explicitly set it to 100%. Then all of the search terms must match. >> >> > Regarding multi-word synonym, what is the best way to handle >> > it now? Make >> > it as a phrase with " or adding - in between? >> > I don't like index time expansion because it adds lots of >> > noises. >> >> Solr wiki advices to use them at index time for various reasons. >> >> "... The recommended approach for dealing with synonyms like this, is to >> expand the synonym when indexing..." >> >> >> http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory >> >> However index time synonyms has its own problems as well. If you add a new >> synonym, you need to re-index those documents that contain this newly >> added synonym. >> >> Also highlighting highlights whole phrases. For example you have : >> us, united states >> Searching for states will highlight both united and stated. >> Not sure but this seems fixed with LUCENE-3668 >> >> I was thinking to have query expansion module to handle multi-word >> synonyms at query time only. Either using o.a.l.search.Query manipulation >> or String manipulation. Similar to Lukas' posting here >> http://www.searchworkings.org/forum/-/message_boards/view_message/146097 >> >> >> >> -- Bill Bell billnb...@gmail.com cell 720-256-8076