lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Binoy Dalal <binoydala...@gmail.com>
Subject Re: Query time de-boost
Date Wed, 24 Feb 2016 10:11:44 GMT
If you were to apply a boost of less than 1, so something like 0.1, that
would reduce the score of the docs you want to de-boost.

On Wed, 24 Feb 2016, 15:17 Emir Arnautovic <emir.arnautovic@sematext.com>
wrote:

> Hi Shamik,
> Is boosting others acceptable option to you, e.g.
> ContentGroup:"NonDeveloper"^100.
> Which query parser do you use?
>
> Regards,
> Emir
>
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/
>
>
>
> On 23.02.2016 23:42, Shamik Bandopadhyay wrote:
> > Hi,
> >
> >    I'm looking into the possibility of de-boosting a set of documents
> during
> > query time. In my application, when I search for e.g. "preferences", I
> want
> > to de-boost content tagged with ContentGroup:"Developer" or in other
> words,
> > push those content back in the order. Here's the catch. I've the
> following
> > weights.
> >
> > text^1.5 title^4 IndexTerm^2
> >
> > As you can see, Title has a higher weight.
> >
> > Now, a bunch of content tagged with ContentGroup:"Developer" consists of
> a
> > title like "Preferences.material" or "Preferences Property" or
> > "Preferences.graphics". The boost on title pushes these documents at the
> > top.
> >
> > What I'm looking is to see if there's a way deboost all documents that
> are
> > tagged with ContentGroup:"Developer" irrespective of the term occurrence
> is
> > text or title.
> >
> > Any pointers will be appreciated.
> >
> > Thanks,
> > Shamik
> >
>
-- 
Regards,
Binoy Dalal

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