locality4:Antwerp).
I have no idea how this can be rewritten in SolrJ using a standard
dismax query.
So in conclusion I think this client will probably need a custom
QParser.
Time to start reading and experimenting I guess.
Regards,
Tom
-Original Message-----
From: Chris Hostetter [mailto:h
: Problem is that they want scores that make results fall in buckets:
:
: * Bucket 1: exact match on category (score = 4)
: * Bucket 2: exact match on name (score = 3)
: * Bucket 3: partial match on category (score = 2)
: * Bucket 4: partial match on name (score = 1)
...
:
bucket.
I'll keep you updated on how this works out.
-Original Message-
From: Geert-Jan Brits [mailto:gbr...@gmail.com]
Sent: maandag 14 juni 2010 11:00
To: solr-user@lucene.apache.org
Subject: Re: custom scorer in Solr
First of all,
Do you expect every query to return results for
Just to be clear,
this is for the use-case in which it is ok that potentially only 1 bucket
gets filled.
2010/6/14 Geert-Jan Brits
> First of all,
>
> Do you expect every query to return results for all 4 buckets?
> i.o.w: say you make a Sortfield that sorts for score 4 first, than 3, 2,
> 1.
>
First of all,
Do you expect every query to return results for all 4 buckets?
i.o.w: say you make a Sortfield that sorts for score 4 first, than 3, 2, 1.
When displaying the first 10 results, is it ok that these documents
potentially all have score 4, and thus only bucket 1 is filled?
If so, I can
I've been investigating this further and I might have found another path
to consider.
Would it be possible to create a custom implementation of a SortField,
comparable to the RandomSortField, to tackle the problem?
I know it is not your standard question but would really appreciate all
feedback
On 1/4/07, escher2k <[EMAIL PROTECTED]> wrote:
Yonik,
I have my own Similarity and now need to write my own Scorer for muti
field scoring.
Is extending DisMaxQueryScorer the way to go ?
Hmm, have you checked out DisjunctionSumQuery from lucene? I think it
might be close to what you are loo
Yonik,
I have my own Similarity and now need to write my own Scorer for muti
field scoring.
Is extending DisMaxQueryScorer the way to go ?
Thanks.
Yonik Seeley wrote:
>
> On 1/3/07, escher2k <[EMAIL PROTECTED]> wrote:
>>I only saw options to specify the default operator (AND|OR) and to
I haven't written any unfortunately. Right now, I have only implemented
custom Similarity - in here, I am trying to alter the scoring substantially
depending on the field. However, I might need to alter the overall
document score - I am in the process of investigating if I can get away
without ha
: specify similarity. There was nothing for scoring - in case I need to modify
: the
: scoring. I got the similarity working by creating my own class.
customer Scorer classes are really only possible via custom Query and
Weight classes -- which are typically way beyond what most people need to
mo
On 1/3/07, escher2k <[EMAIL PROTECTED]> wrote:
I only saw options to specify the default operator (AND|OR) and to
specify similarity. There was nothing for scoring - in case I need to modify
the
scoring. I got the similarity working by creating my own class.
If you created your own Similarit
Yonik,
I only saw options to specify the default operator (AND|OR) and to
specify similarity. There was nothing for scoring - in case I need to modify
the
scoring. I got the similarity working by creating my own class.
Thanks.
Yonik Seeley wrote:
>
> On 1/2/07, escher2k <[EMAIL PROTECTED]>
On 1/2/07, escher2k <[EMAIL PROTECTED]> wrote:
Is there a way to specify a custom scorer in Solr using the XML configuration
file ? I want to
use the AND operator (e.g. "Lucene AND Solr") to search multiple fields and
then add the
similarity score for each field using a custom similiarity computa
13 matches
Mail list logo