We don't commonly use the term "query expansion" for Lucene and Solr, but I
would say that there are two categories of "QE":
1. Lightweight QE, by which I mean things like synonym expansion, stemming,
stopword removal, spellcheck, and anything else that modifies the raw query
in any way that affects the results. MoreLikeThis/Find Similar could also be
considered lightweight QE. In this lightweight sense, Lucene and Solr have
lots of QE features.
2. Heavyweight QE, such as the "Unsupervised Feedback" feature that
LucidWorks Search offers, which can automatically iterate on the original
query, either refining or expanding the results to increase either precision
or recall (your choice). Lucene and Solr themselves do not offer this
automated capability, although the LucidWorks Search query feature is
completely implemented using underlying Lucene and Solr features.
Wikipedia:
http://en.wikipedia.org/wiki/Query_expansion
Lucid:
http://docs.lucidworks.com/display/help/Unsupervised+Feedback+Options
http://docs.lucidworks.com/display/lweug/Understanding+and+Improving+Relevance#UnderstandingandImprovingRelevance-UnsupervisedFeedback
-- Jack Krupansky
-----Original Message-----
From: Michael O'Leary
Sent: Wednesday, July 17, 2013 5:58 PM
To: java-user@lucene.apache.org
Subject: Query expansion in Lucene (4.x)
I was reading a paper about Query Expansion (
http://search.fub.it/claudio/pdf/CSUR-2012.pdf) and it said: "For instance,
Google Enterprise, MySQL and Lucene provide the user with an AQE facility
that can be turned on or off."
I searched through the Lucene 4.1.0 source code, which is what I have
downloaded, and through Lucene forums and the web generally looking for
references to query expansion in Lucene, and what I found was some
discussion of the SynonymFilter class and external projects called LucQE
and LuceneQE.
Is there other code in Lucene that supports query expansion that I missed
(because I didn't expand the queries I was searching with enough or
something :-) or are these the primary Lucene and Lucene-compatible
components that support query expansion?
Thanks,
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org