Viresh,

there's two ways to solve this.

- Using the CompoundWordsAnalyzer. I still haven't been able to find an easy to 
embark method into there. That would decompose, at indexing and query time, the 
term Kreditgeber into kredit and geber. For a higher precision, you probably 
want to do it at indexing time only.

- At query expansion time, using a QueryComponent, where you'd turn each word 
(so… TermQuery objects as received by the QueryParser) into wildcard queries.

I'd prefer the first.

paul


Le 28 nov. 2013 à 14:47, Viresh Modi <viresh.m...@highq.com> a écrit :

> For instance,When we searched for “Kredit” and received hits containing the
> words “Kredit”, “Kredite” and “Kredit-“. However, entries containing the
> word “Kreditgeber” are not coming up in the results list. Would you know
> why?
> 
> 
> Regards
> Viresh Modi

Reply via email to