Re: negative boosts for docs with common field value

2011-10-11 Thread Chris Hostetter
: The setup for this question was to simplify the actual environment, : we're not actually demoting popular authors. Well, the beter you describe your problem in terms of your *actual* goal,, the more likely people can help give you applicable answers... https://people.apache.org/~hossman/#xypr

Re: negative boosts for docs with common field value

2011-10-11 Thread Rob Brown
Chris Hostetter Reply-to: solr-user@lucene.apache.org To: solr-user@lucene.apache.org Subject: Re: negative boosts for docs with common field value Date: Tue, 11 Oct 2011 15:37:03 -0700 (PDT) : Some searches will obviously be saturated by docs from any given author if : they've simply wr

Re: negative boosts for docs with common field value

2011-10-11 Thread Chris Hostetter
: Some searches will obviously be saturated by docs from any given author if : they've simply written more. : : I'd like to give a negative boost to these matches, there-by making sure that : 1 Author doesn't saturate the results just because they've written 500 : documents, compared to others wh

Re: negative boosts for docs with common field value

2011-10-06 Thread Otis Gospodnetic
ucene ecosystem search :: http://search-lucene.com/ - Original Message - > From: Robert Brown > To: solr-user@lucene.apache.org > Cc: > Sent: Thursday, October 6, 2011 10:31 AM > Subject: Re: negative boosts for docs with common field value > > We don't want to lim

Re: negative boosts for docs with common field value

2011-10-06 Thread Robert Brown
We don't want to limit the number of results coming back, so unfortunately grouping doesn't quite fix it, plus it would, by nature, group docs by a particular Author together which might not necessarily be adjacent. On Thu, 6 Oct 2011 07:16:48 -0700 (PDT), Ahmet Arslan wrote: >> For the sake of

Re: negative boosts for docs with common field value

2011-10-06 Thread Ahmet Arslan
> For the sake of simplicity, I have an index with docs > containing the following fields: > > Title > Description > Author > > Some searches will obviously be saturated by docs from any > given author if they've simply written more. > > I'd like to give a negative boost to these matches, > ther

Re: negative boosts for docs with common field value

2011-10-06 Thread Markus Jelsma
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_do_I_give_a_very_low_boost_to_documents_that_match_my_query > Hi, > > For the sake of simplicity, I have an index with docs containing the > following fields: > > Title > Description > Author > > Some searches will obviously be saturated by docs

Re: negative boosts

2008-12-12 Thread Chris Hostetter
: My index has a category field and I would like to apply a negative boost : to certain categories. For example, if I search for "thinkpad", it : should push results for the laptop bag and other accessory categories to : the bottom. : So, I first tried altering the bq field with category:(batt

Re: Negative boosts

2006-12-14 Thread Chris Hostetter
: > function that will give me a bigger boost for field values closer to : > zero? : : The syntax could possibly change in the future, but look at the syntax in : the javadoc for parseFunction in : http://incubator.apache.org/solr/docs/api/org/apache/solr/search/QueryParsing.html : : Then when us

Re: Negative boosts

2006-12-14 Thread Yonik Seeley
On 12/14/06, Derek Watson <[EMAIL PROTECTED]> wrote: > > If you want documents returned in the same order as a field, it's > easy... you sort! > If you want the value of a field to influence a score, not determine > the exact sort order, you can use FunctionQuery (currently hacked into > the quer

Re: Negative boosts

2006-12-14 Thread Derek Watson
If you want documents returned in the same order as a field, it's easy... you sort! If you want the value of a field to influence a score, not determine the exact sort order, you can use FunctionQuery (currently hacked into the query parser as _val_:myfield) That seems like what I want -- boost

Re: Negative boosts

2006-12-14 Thread Yonik Seeley
On 12/14/06, Derek Watson <[EMAIL PROTECTED]> wrote: I have been developing a new search application based on Solr (Very nice!) using dismax. We are using query-time boosts to provide better search results for user queries and index-time boosts to promote certain documents over others. My questi