lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Villemos, Gert" <>
Subject AW: Concept Expansion
Date Sat, 05 Sep 2009 21:42:59 GMT
Well, this is very interesting.
Looking at the documentation provided in the link it seems like the synonym definitions must
be in a file. We would define the concept expansions in another format. My question is thus;
Is it possible to perform a synonym replacement based on not the file but another mechanism?
I guess no. The answer would thus be to create new TokenFilters and coresponding factory,
and implement it to access our format. Right?
Would there be a way to enable / disable the expasion filter at runtime, i.e. for example
through special parameters in the query sring?


Von: Shalin Shekhar Mangar []
Gesendet: Sa 05.09.2009 23:23
Betreff: Re: Concept Expansion

On Sun, Sep 6, 2009 at 2:17 AM, Villemos, Gert <>wrote:

> We would like to support concept expansion in searches, i.e. when a user
> searches for 'software' then the system should also search for keywords /
> phrases such as program, computer , system, package and class.
> I imagine that the right way of doing this is a request handler, which
> expands a query into its conceptual similar entries and aggregates the
> results.

Have you looked at SynonymFilterFactory?

Shalin Shekhar Mangar.

Please help Logica to respect the environment by not printing this email  / Pour contribuer
comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken
Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu sch├╝tzen. / 
Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message