lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Solr Boost Search word before Specific Content
Date Wed, 08 Jul 2015 07:09:19 GMT
Hi Jack,

Here is hypothetical example:

product_title_1 : dell laptop with laptop bag

product_title_2 : laptop bag with cover
product_title_3 : laptop bag and table

You create an artificial/additional field, 

before_field_1 : dell laptop
before_field_2 : laptop bag
before_field_3 : laptop bag

You can implement/embed any complex/custom logic (to indexing code) for obtaining values of
this new boostable before_field.
You can even implement it in a custom update processor.

Then, at search time, use (e)Dismax's field boosting mechanism q=Laptop bag&qf=product_title^0.3


On Wednesday, July 8, 2015 6:56 AM, JACK <> wrote:
Hi Ahmet,

Can you elaborate it more?
Is it possible to solve my problem in Solr 5.0.0?
if yes can just explain how?

View this message in context:

Sent from the Solr - User mailing list archive at

View raw message