Jack - that was true, until Solr 3.6+: 
<http://wiki.apache.org/solr/MultitermQueryAnalysis>

So, Claire, it's possible with the latest Solr release, to do this using bits 
and pieces of your existing analysis chain.

As Jack said, though, this is a manual chore in pre-Solr-3.6 releases.

        Erik


On May 4, 2012, at 08:54 , Jack Krupansky wrote:

> Unfortunately, use of a wildcard causes the normal token analysis processing 
> to be completely bypassed, including the elision filter.  So, when using a 
> wildcard you have to simulate in your head all of the analysis features, such 
> as manually performing the elision.
> 
> -- Jack Krupansky
> 
> -----Original Message----- From: Claire Hernandez
> Sent: Friday, May 04, 2012 5:08 AM
> To: solr-user@lucene.apache.org
> Cc: Jonathan Druart
> Subject: search case: Elision and truncate in french
> 
> Hi all,
> 
> I have a little problem, I don't find an easy configuration solution but
> maybe my google search is wrong :)
> 
> - ElisionFilterFactory is enabled for searching and indexing analyzer.
> - Index contains: *l'aventure*
> => when I search *l'avent** solr finds nothing
> 
> I would have a solution which doesn't look sexy: having another index
> with a patternreplacecharfilterfactory wich removes all "'" in strings.
> 
> Some tips would be usefull.
> 
> Thanks,
> Claire; 

Reply via email to