RE: custom scorer in Solr

2010-06-15 Thread Fornoville, Tom
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

Re: custom scorer in Solr

2010-06-14 Thread Chris Hostetter
: 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) ... :

RE: custom scorer in Solr

2010-06-14 Thread Fornoville, Tom
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

Re: custom scorer in Solr

2010-06-14 Thread Geert-Jan Brits
>> >> >> First thing we did was develop a custom similarity class that would >> return the correct score depending on the field and an exact or partial >> match. >> >> >> >> The only problem now is that when a document matches on both the >&g

Re: custom scorer in Solr

2010-06-14 Thread Geert-Jan Brits
t; -Original Message- > From: Fornoville, Tom > Sent: woensdag 9 juni 2010 15:35 > To: solr-user@lucene.apache.org > Subject: custom scorer in Solr > > Hi all, > > > > We are currently working on a proof-of-concept for a client using Solr > and have been able to

RE: custom scorer in Solr

2010-06-14 Thread Fornoville, Tom
dback and suggestions on this because this is the issue that will make or break the acceptance of Solr for this client. Thanks, Tom -Original Message- From: Fornoville, Tom Sent: woensdag 9 juni 2010 15:35 To: solr-user@lucene.apache.org Subject: custom scorer in Solr Hi all, W

custom scorer in Solr

2010-06-09 Thread Fornoville, Tom
hey should only get 4. I assume for this to work we would need to develop a custom Scorer class but we have no clue on how to incorporate this in Solr. Maybe there is even a simpler solution that we don't know about. All suggestions welcome! Thanks, Tom

Re: Custom scorer...

2007-01-04 Thread Mike Klaas
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

Re: Custom scorer...

2007-01-04 Thread escher2k
schema.xml. > If you created your own Scorer, then that's a whole different > matter... you need to create a custom query handler to use it (start > with standard or dismax). > > -Yonik > > -- View this message in context: http://www.nabble.com/Custom-scorer...-tf2911497.html#a8172386 Sent from the Solr - User mailing list archive at Nabble.com.

Re: Custom scorer...

2007-01-03 Thread escher2k
mer Scorer classes are really only possible via custom Query and > Weight classes -- which are typically way beyond what most people need to > modify to achieve their goals. What kind of Query/Weight/Scorer have you > written? > > > > > > -Hoss > > > -- V

Re: Custom scorer...

2007-01-03 Thread Chris Hostetter
: 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

Re: Custom scorer...

2007-01-03 Thread Yonik Seeley
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

Re: Custom scorer...

2007-01-03 Thread escher2k
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

Re: Custom scorer...

2007-01-02 Thread Yonik Seeley
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 cu

Custom scorer...

2007-01-02 Thread escher2k
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 computation for each. Thanks. -- View th