How to make word-N-gram based query and interpolate each N-gram score to obtain final Lucene score

2016-01-11 Thread Rajen Chatterjee
token (something like the final lucene score should be interpolation of uni-gram score, bi-gram score, tri-gram score,... and so on) Any help is much appreciated. Thanks -- -Regards, Rajen Chatterjee.

Re: Calculate document lucene score after the search

2011-04-18 Thread Anshum
AM, wrote: > Hi, > > I am trying to find the actual lucene score of the document after the > search. I have set different boost values to fields. I am using > document.getBoost(), to find the score but I am getting document boost as 1 > for all the documents. > > Is there

Calculate document lucene score after the search

2011-04-18 Thread madhuri_1820
Hi, I am trying to find the actual lucene score of the document after the search. I have set different boost values to fields. I am using document.getBoost(), to find the score but I am getting document boost as 1 for all the documents. Is there any way I can calculate the actual score of the

About the lucene score

2011-04-02 Thread Cescky
Hi, I search using the ComplexPhraseQueryParser (e.g. "great* sum*"), it becomes SpanNearQuery so i cannot use multiTermQuery.setRewriteMethod(). Because prefix query is constant query, it can only sort the document by the order of reading files. Which method should I use to change it? And

About the lucene score

2011-04-02 Thread Cescky
Hi, I search using the ComplexPhraseQueryParser (e.g. "great* sum*"), it becomes SpanNearQuery so i cannot use multiTermQuery.setRewriteMethod(). Because prefix query is constant query, it can only sort the document by the order of reading files. Which method should I use to change it? And

Re: How to normalize Lucene score?

2009-08-18 Thread Chris Hostetter
: Hi, : : How to normalize the Lucene score to the range [0, 1]? http://wiki.apache.org/lucene-java/ScoresAsPercentages -Hoss - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e

Re: How to normalize Lucene score?

2009-08-17 Thread Christian Reuschling
ullegaddi wrote: > Hi, > > How to normalize the Lucene score to the range [0, 1]? > > Thanks, > Prashant. signature.asc Description: PGP signature

How to normalize Lucene score?

2009-08-16 Thread prashant ullegaddi
Hi, How to normalize the Lucene score to the range [0, 1]? Thanks, Prashant.

Re: lucene score and float precision

2009-05-01 Thread Chris Hostetter
: in some cases we have the problem that for a document the ScoreDoc score : differs at the last digit of the float from the score reported by the : explanation functionality of lucene. For example: : : ScoreDoc: 16.770466 -- Explanation: 16.770468 = (MATCH) sum of: ... : ScoreDoc: 21.118656 --

lucene score and float precision

2009-04-29 Thread Jan Paetzold
Hi, in some cases we have the problem that for a document the ScoreDoc score differs at the last digit of the float from the score reported by the explanation functionality of lucene. For example: ScoreDoc: 16.770466 -- Explanation: 16.770468 = (MATCH) sum of: ... ScoreDoc: 21.118656 -- Explanat

Re: Spread of lucene score

2008-11-19 Thread Mark Miller
excitingComm2 wrote: Hi everybody, as far as I know the lucene score is an arbitrary number between 0.0 and 1.0. Is this correct, that the scores in my resultset are always normalised to this spread or is it possible to get higher scores? Regards, John W. Hits is the class that did the

Spread of lucene score

2008-11-19 Thread excitingComm2
Hi everybody, as far as I know the lucene score is an arbitrary number between 0.0 and 1.0. Is this correct, that the scores in my resultset are always normalised to this spread or is it possible to get higher scores? Regards, John W. -- View this message in context: http://www.nabble.com

Re: concise definition of Lucene score?

2008-09-03 Thread Chris Hostetter
: I have attempted to find a concise definition of how the Lucene score is : calculated, something that can be understood by most people. The answer tends to vary based on exactly what type of query you are talking about ... TermQuery? PhraseQuery? BooleanQuery contianing a mix? I'm

Re: concise definition of Lucene score?

2008-09-03 Thread Grant Ingersoll
o like math can read the formula. -Grant On Sep 3, 2008, at 6:17 AM, Jon Loken wrote: Hi all, I have attempted to find a concise definition of how the Lucene score is calculated, something that can be understood by most people. The information I found is accurate, but not particularl

concise definition of Lucene score?

2008-09-03 Thread Jon Loken
Hi all, I have attempted to find a concise definition of how the Lucene score is calculated, something that can be understood by most people. The information I found is accurate, but not particularly concise. http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apac he/lucene

Re: is it possible to change the way score from different field combine to give final lucene score

2008-03-29 Thread Grant Ingersoll
core for a query from field1 and field2 are score1 and score2 respectively.now when computing the final lucene score I instead of score1,I want to use some function (f(score1)) of that score. -- Grant Ingersoll http://www.lucenebootcamp.com Next Training: April 7, 2008 a

Re: is it possible to change the way score from different field combine to give final lucene score

2008-03-26 Thread John Wang
se I have two field field1 and field2 and let the score for a > > query from field1 and field2 are score1 and score2 respectively.now > > when computing the final lucene score I instead of score1,I want to > > use some function (f(score1)) of that score. > >

Re: is it possible to change the way score from different field combine to give final lucene score

2008-03-24 Thread Grant Ingersoll
help. -Grant On Mar 24, 2008, at 2:26 AM, Nizamul wrote: Suppose I have two field field1 and field2 and let the score for a query from field1 and field2 are score1 and score2 respectively.now when computing the final lucene score I instead of score1,I want to use some function (f(score1)) of

is it possible to change the way score from different field combine to give final lucene score

2008-03-23 Thread Nizamul
Suppose I have two field field1 and field2 and let the score for a query from field1 and field2 are score1 and score2 respectively.now when computing the final lucene score I instead of score1,I want to use some function (f(score1)) of that score.

Re: Lucene score algorithm details?

2005-08-08 Thread Chris Lu
Document boost is distributed to each field when creating the index. It is not stored anywhere. So it's not in the equation to calculate score. -- Chris Lu Lucene Search RAD on Any Database http://www.dbsight.net On 8/8/05, Andrew Hudson <[EMAIL PROTECTED]> wrote: > Is the docboos

Re: Lucene score algorithm details?

2005-08-08 Thread Andrew Hudson
Is the docboost being used in scoring currently? I haven't been able to see a clear connection between it and the score that lucene calculates both empirically and in the scoring code itself. Andrew On 8/8/05, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > It's in the Javadoc for Similarity class

Re: Lucene score algorithm details?

2005-08-08 Thread Otis Gospodnetic
It's in the Javadoc for Similarity class. You can use that along with Explanation (class) to get a good picture of what's going on with scoring. Otis --- Dan Armbrust <[EMAIL PROTECTED]> wrote: > I know there used to be a webpage that gave the algorithm used by > Lucene > for scoring, along wi

Lucene score algorithm details?

2005-08-08 Thread Dan Armbrust
I know there used to be a webpage that gave the algorithm used by Lucene for scoring, along with some info on what each variable controlled, to some extent... I was looking to brush up on what the idf controls (and what will happen if I override it) but I can't seem to find that page any longer

lucene score

2005-04-22 Thread Ravi
Hi Does lucene relevancy score depend on the total number of documents in the index? Will I get different scores for the same document for the same query for indexes of different sizes? If it does, when does it return a higher score? Thanks in advance, Ravi.