lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nourredine K." <>
Subject Re : Re : Questions about synonyms and highlighting
Date Wed, 07 Oct 2009 11:52:57 GMT
Thanks Avlesh.

Now, I understand better how higtlighting works.

As you've said, since it is based on the analysers, higtlighting will handle things like search.

A precision about #3 and #4 examples , they are exclusives : I wanted to know how to do higtlighting
with stemming OR without (not both in same time)

So I think you've answered to #3 too :) All depend on your analysers. And for my case, the
ISOLatin1AccentFilterFactory could do the job.

Thanks again Shalin and Avlesh.



> There is no Lemmatisation support in Solr as of now. The only support you
> get is stemming.
> Let me understand this correctly - you basically want the searches to happen
> with stemmed base but want to selectively highlight the original and/or
> stemmed words. Right? If yes, then AFAIK, this is not possible. Search
> passes through your fields analyzers (tokenizers and filters). Highlighters,
> typically, use the same set of analyzers and the behavior will be the same
> as in search; this essentially means that the keywords "manage", "managing",
> "management" and "manager" are REDUCED to "manage" for searchers and
> highlighters.
> If this can be done, then the only place to enable your "feature" could be
> Lucene highlighter api's. Someone more knowledegable can tell you, if that
> is possible.

> I have no idea about your #3, though my idea of handling accentuation is to
> apply a  ISOLatin1AccentFilterFactory and get rid of them altogether :)
> I am curious to know the answer though.

Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les
messages non sollicit├ęs Yahoo! Mail 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message