Hello all,

We have written a SOLR component for configurable boosting of terms
depending on the user query, and our company, solute GmbH /
www.billiger.de, has allowed us to release this component under the
Apache 2 License. So we proudly present:

    Query-Local Term Boost (QLTB) component.

This component inserts boosted terms into the SOLR query depending on
the query string.

Each such query string and its boost terms (or block terms) are listed
in one big XML file, the term boost map.

In the prepare() stage, the user's query is analyzed and checked against
the term boost map. If a matching entry is found, the request is
rewritten: the original query put inside a new BooleanQuery as a MUST
term, and the stored ConstantScoreQueries are added to this BooleanQuery
as either SHOULD (boost > 0) or MUST_NOT (boost <= 0) terms.

More docs is in the source code, available on Github:
https://github.com/solute/qltb

We would be thrilled to get your feedback.

Cheers,
Frank Honza, Jan Morlock, and Patrick Schemitz

PS: Please note the Zookeeper code is untested: we don't use Zookeeper.
-- 
billiger.de

solute gmbh
Zeppelinstraße 15
D-76185 Karlsruhe
Tel: +49.(0)721.86956-23
Fax: +49.(0)721.86956-66
E-Mail: [email protected]
_________________________________________________
Geschäftsführer: Lorenz Petersen
Sitz: Karlsruhe
Registergericht: Amtsgericht Mannheim
Registernummer: HRB 110579
Umsatzsteueridentifikationsnummer: DE234663798

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to