would like to influence the score using geographical distance. More distant
> documents lower the score.
> I have sort field:
> SortField geoSort = LatLonDocValuesField.newDistanceSort("location",
> pos.getLatitude(), pos.getLongitude());
>
> Then I tried add this sor
Hi,
I would like to influence the score using geographical distance. More distant
documents lower the score.
I have sort field:
SortField geoSort = LatLonDocValuesField.newDistanceSort("location",
pos.getLatitude(), pos.getLongitude());
Then I tried add this sort field to SimpleBind
ch of other Weight objects stored in an array
"conditionWeights" which are also available in my CQScorer class.
Now, I "just" want to get the scores from the respective query for some
document. Thus, in CQScorer's score() method, I tried "conditionScores[i] =
this.conditionW
okenize the queries and add all terms to a boolean query, the
> document will have the same score for the two queries, but what I want is
> that b scores higher than a, what similarity should I use, or how can I
> tweak the internal of Lucene to achieve the goal?
>
> Please note th
l terms to a boolean query, the
document will have the same score for the two queries, but what I want is
that b scores higher than a, what similarity should I use, or how can I
tweak the internal of Lucene to achieve the goal?
Please note that I cannot extract the phrase "new year" at
ith the getValues code.
> > > > > >
> > > > > > public DoubleValues getValues(LeafReaderContext ctx, DoubleValues
> > > > scores)
> > > > > > throws IOException {
> > > > > >
> > > > > > The field I have
hrows IOException {
> > > > >
> > > > > The field I have to read is a binary field, and I can't find an
> example
> > > > > how to read a binary field from LeafReaderContext
> > > > >
> &g
afReaderContext
> > > >
> > > > Any help appreciated.
> > > >
> > > > Best regards,
> > > > Vincenzo
> > > >
> > > > On Thu, Jul 2, 2020 at 1:19 PM Vincenzo D&
ing around to find an inspiring
> > >> example...
> > >>
> > >> On Thu, Jul 2, 2020 at 12:55 PM Mikhail Khludnev
> wrote:
> > >>
> > >>>
understand how to extend
> >> DoubleValuesSource class, now I'm looking around to find an inspiring
> >> example...
> >>
> >> On Thu, Jul 2, 2020 at 12:55 PM Mikhail Khludnev wrote:
> >>
> >>> Hi, Vincenzo.
> >>>
> >
gt; Again, @Federico Pici or anybody, did you figure out how to
>>> > port CustomScoreQuery in Solr8?
>>> >
>>> > On Tue, Jul 23, 2019 at 1:05 AM Xiaofei wrote:
>>> >
>>> > > @Federico Pici, did you figure out on how to produce customized
> Again, @Federico Pici or anybody, did you figure out how to
>> > port CustomScoreQuery in Solr8?
>> >
>> > On Tue, Jul 23, 2019 at 1:05 AM Xiaofei wrote:
>> >
>> > > @Federico Pici, did you figure out on how to produce customized score
>>
Jul 2, 2020 at 9:58 AM Vincenzo D'Amore
> wrote:
>
> > Again, @Federico Pici or anybody, did you figure out how to
> > port CustomScoreQuery in Solr8?
> >
> > On Tue, Jul 23, 2019 at 1:05 AM Xiaofei wrote:
> >
> > > @Federico Pici, did you
On Thu, Jul 2, 2020 at 10:32 AM Diego Ceccarelli (BLOOMBERG/ LONDON) <
dceccarel...@bloomberg.net> wrote:
> Vincenzo, are you talking about
> https://lucene.apache.org/core/7_4_0/queries/org/apache/lucene/queries/CustomScoreQuery.html
> ?
>
>
Yep. I was just trying to figure it out how to port a c
; > @Federico Pici, did you figure out on how to produce customized score in
> > Solr
> > 8?
> >
> >
> >
> > --
> > Sent from:
> > http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html
> >
> > --
score using Solr8/Lucene8
Again, @Federico Pici or anybody, did you figure out how to
port CustomScoreQuery in Solr8?
On Tue, Jul 23, 2019 at 1:05 AM Xiaofei wrote:
> @Federico Pici, did you figure out on how to produce customized score in
> Solr
> 8?
>
>
>
> --
> Sent from
Again, @Federico Pici or anybody, did you figure out how to
port CustomScoreQuery in Solr8?
On Tue, Jul 23, 2019 at 1:05 AM Xiaofei wrote:
> @Federico Pici, did you figure out on how to produce customized score in
> Solr
> 8?
>
>
>
> --
> Sent from:
> http://lucene.
rom: Stamatis Zampetakis
> > Sent: Monday, December 9, 2019 10:42 AM
> > To: java-user@lucene.apache.org
> > Subject: Re: Use custom score in ConstantScoreQuery
> >
> > Thanks for you reply Adrien!
> > Can you clarify what is the second way?
> > At the momen
e
eMail: u...@thetaphi.de
> -Original Message-
> From: Stamatis Zampetakis
> Sent: Monday, December 9, 2019 10:42 AM
> To: java-user@lucene.apache.org
> Subject: Re: Use custom score in ConstantScoreQuery
>
> Thanks for you reply Adrien!
> Can you clarify what is the second way?
By wrapping the constant score query inside a BoostQuery?
That’s how elasticsearch handles boosts on arbitrary queries, for example.
On Mon 9. Dec 2019 at 10:42, Stamatis Zampetakis wrote:
> Thanks for you reply Adrien!
> Can you clarify what is the second way?
> At the moment I have
Thanks for you reply Adrien!
Can you clarify what is the second way?
At the moment I haven't found a way (apart from creating my own Query
classes) to say that a query will always return a score of 0.5 for each
document.
On Mon, Dec 9, 2019 at 8:16 AM Adrien Grand wrote:
> Hi Stamati
Hi Stamatis,
I personally like the current way things work. If we added the ability
to set a custom score on ConstantScoreQuery, then we'd end up with two
ways to do the same thing, which I like to avoid whenever possible.
On Sun, Dec 8, 2019 at 10:07 PM Stamatis Zampetakis wrote:
>
Small reminder. Any input on this?
Thanks,
Stamatis
On Mon, Dec 2, 2019 at 12:10 PM Stamatis Zampetakis
wrote:
> Hi all,
>
> Currently ConstantScoreQuery [1] returns a constant score equal to 1 for
> every document that matches the query.
>
> I would like to use the ConstantS
Hi all,
Currently ConstantScoreQuery [1] returns a constant score equal to 1 for
every document that matches the query.
I would like to use the ConstantScoreQuery but with a different score value
that I can pass explicitly (via the constructor for instance).
This change may also benefit some
In short: As it matches nothing, it cannot modify the score. Scores of
documents not excluded are not modified, so it behaves like zero.
In short: it's the opposite of FILTER clauses.
Uwe
Am August 4, 2019 6:26:29 PM UTC schrieb Atri Sharma :
>MUST_NOT represents a clause which must n
MUST_NOT represents a clause which must not match against a document in
order for it to be qualified as a hit (think of SQL’s NOT IN).
MUST_NOT clauses are used as filters to eliminate candidate documents.
On Sun, 4 Aug 2019 at 23:11, Claude Lepere wrote:
> Hello!
>
> What score of
Hello!
What score of a hit in response to a query that begins with the clause
MUST_NOT?
Is it 0 or something else?
What does it mean?
How is it calculated?
Thank you in advance. Claude Lepère
@Federico Pici, did you figure out on how to produce customized score in Solr
8?
--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html
-
To unsubscribe, e-mail: java-user-unsubscr
One thing i noticed is that the score is the same for the first 1800
results, that is not expected, right?
Best regards
On 6/27/19 3:07 PM, baris.ka...@oracle.com wrote:
the index has "united states" and
still investigating why MAINS does not return MAIN but MAINK etc. does
r
olean clause or
any other nested query.
Going from bottom to top:
Term query on countryDFLT = 'states', but no term matched this value
--> score is 0.0 for the term query "countryDFLT:states"
Term query is wrapped into a 'must' clause, but the term query
d the leading "0.0" values you
are seeing are the individual contributions of each boolean clause or
any other nested query.
Going from bottom to top:
Term query on countryDFLT = 'states', but no term matched this value
--> score is 0.0 for the term query "countryDFLT:sta
; values you
> are seeing are the individual contributions of each boolean clause or
> any other nested query.
>
> Going from bottom to top:
>
> Term query on countryDFLT = 'states', but no term matched this value
> --> score is 0.0 for the term query "countr
Hi Baris,
Explanation's output is hierarchical, and the leading "0.0" values you
are seeing are the individual contributions of each boolean clause or
any other nested query.
Going from bottom to top:
Term query on countryDFLT = 'states', but no term matched this value
Hi,-
Any ideas on what might be happening?
maybe i am missing, is there an api to look into each contribution of
score into total scrore from the booleanquery?
Best regards
On 6/26/19 2:29 PM, Baris Kazar wrote:
All must queries (and the rest of course) work ok when i search MAINK, MAINL
the rest is
phrase query as they are correct
that is why i want to see each score from each of the component of the
booleanquery.
so far i checked Lucene but could not find a way to see each contributing score
to the total score for each result hit document.
Best regards
- Original
ery’s type (phrase, term etc).
> >
> > Could you post your query and the explain plan of IndexSearcher post the
> > rewrite?
> >
> > On Wed, 26 Jun 2019 at 6:46 PM, wrote:
> >
> >> Hi,-
> >>
> >>how can one find out each score c
the actual clauses (whether they are SHOULD, MUST,
MUST_NOT), each query’s type (phrase, term etc).
Could you post your query and the explain plan of IndexSearcher post the
rewrite?
On Wed, 26 Jun 2019 at 6:46 PM, wrote:
Hi,-
how can
ery and the explain plan of IndexSearcher post the
rewrite?
On Wed, 26 Jun 2019 at 6:46 PM, wrote:
Hi,-
how can one find out each score contribution from booleanquery
components?
Best regards
-
To unsubscribe, e-mail: ja
It depends a lot on the actual clauses (whether they are SHOULD, MUST,
MUST_NOT), each query’s type (phrase, term etc).
Could you post your query and the explain plan of IndexSearcher post the
rewrite?
On Wed, 26 Jun 2019 at 6:46 PM, wrote:
> Hi,-
>
> how can one find out e
Hi,-
how can one find out each score contribution from booleanquery components?
Best regards
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
score.
Using my (hopefully) custom score i would be able to give documents a “value”
or “score” (based on factors that are outside search terms).
For example with a /solr/collection_1/select/?q=*.*
first documents could be the ones a user viewed most and that contains a
certain quantity of
@lucene.apache.org
Subject: Re: About custom score using Solr8/Lucene8
Diego it could be a nice workaround in case i was not able to perform custom
scoring (or in case custom scoring function would generate a slow query)
Thanks
I still hope i will be able to implement a custom score function in some
Diego it could be a nice workaround in case i was not able to perform custom
scoring (or in case custom scoring function would generate a slow query)
Thanks
I still hope i will be able to implement a custom score function in some way
I was almost able to achieve such result with
t; the were opened by user (and other key factors based on documents usage).
> So, maybe weekly, we should update this “global” factors that would affect
> each user’s document score. If this week i opened, for example, more
> documents of typeA and less of typeB, ALL documents of typeA
based on documents usage).
So, maybe weekly, we should update this “global” factors that would affect each
user’s document score. If this week i opened, for example, more documents of
typeA and less of typeB, ALL documents of typeA would be more important
of all documents of typeB (this is just a
why would you need to reindex all the users documents everynight? is the score
affected by the number of documents per user?
Also for scores, you might be able to use in-place updates:
https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-In
Well,
my index is basically a list of documents of users. so i could say i got a
couple of millions of documents per user.
I need to produce a score that is unrelated with search term (something like
“give me documents that are the most important to user”). I would
search for documents of a
Hi Federico,
Could you give more details on what is the score that you want to produce? how
big is the collection?
Is the score affected by the query? if not, would be possible to store the
score with the document?
Cheers,
Diego
From: java-user@lucene.apache.org At: 05/09/19 08:13:35To
he fourth item at
> http://lucene.apache.org/core/8_0_0/MIGRATE.html ?
>
> On Wed, May 8, 2019 at 5:46 PM Federico Pici
> wrote:
>
>> Hi,
>>
>> i was trying to implement custom score inside my solr8 instance.
>> On google i found some examples, all focused on
Hello.
Have you checked the fourth item at
http://lucene.apache.org/core/8_0_0/MIGRATE.html ?
On Wed, May 8, 2019 at 5:46 PM Federico Pici
wrote:
> Hi,
>
> i was trying to implement custom score inside my solr8 instance.
> On google i found some examples, all focu
Hi,
i was trying to implement custom score inside my solr8 instance.
On google i found some examples, all focused on using CustomScoreProvider and
CustomScoreQuery classes. This classes have been removed in Solr8/Lucene8
and, from Lucene 8 changeling, i saw a developer /contributor saying to
No there is no limit.
-
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Kevin Manuel
> Sent: Wednesday, April 17, 2019 7:38 PM
> To: java-user@lucene.apache.org
> Subject: Upper limit on Score
Hi,
I was just wondering is there an upper limit to the score that can be
generated for a non-constant score query?
Thanks,
Kevin
You could use IndexSearcher#explain, which tells you how the score of a
document is computed.
Le mar. 17 juil. 2018 à 19:06, a écrit :
> Hi,-
>
> how can i check the contributions from different fields indexed in the
> hits doc's score?
Hi,-
how can i check the contributions from different fields indexed in the
hits doc's score?
Best regards
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-u
id, the same id that is returned, after
> performing a search(), in the form of topDocs.scoreDocs.
> ScoreDoc[] hits;
> indexSearcher.search(luceneQuery, collector);
> topDocs = collector.topDocs();
> hits = topDocs.scoreDocs;
> System.out.
doc); // I want this docid
inside score()
> If you still want to get the internal ID, just specify the
> pseudo-field [docid], as: "fl=id,[docid]"
I didn't get your suggestion properly. Can you please explain a little? I will
be waiting for you reply.
With regards,
Dwaipaya
On Mar 9, 2018 5:06 AM, "Dwaipayan Roy" wrote:
>>
>> > While searching, I want to get the lucene assigned docid (that starts from
>> > 0 to the number of documents -1) of a document having a particular query
>> > term.
>> >
>> > From insid
t the lucene assigned docid (that starts from
> > 0 to the number of documents -1) of a document having a particular query
> > term.
> >
> > From inside the score(), printing 'doc' or calling docId() is returning a
> > docid which, I think, is the internal do
arching, I want to get the lucene assigned docid (that starts
from>
> > 0 to the number of documents -1) of a document having a particular
query>
> > term.>
> >>
> > From inside the score(), printing 'doc' or calling docId() is returning
a>
> >
leaf reader.
On Mar 9, 2018 5:06 AM, "Dwaipayan Roy" wrote:
> While searching, I want to get the lucene assigned docid (that starts from
> 0 to the number of documents -1) of a document having a particular query
> term.
>
> From inside the score(), printing 'doc' o
While searching, I want to get the lucene assigned docid (that starts from
0 to the number of documents -1) of a document having a particular query
term.
>From inside the score(), printing 'doc' or calling docId() is returning a
docid which, I think, is the internal docid of a seg
ams_vendor, BooleanClause.Occur.SHOULD)
> .add(params_model, BooleanClause.Occur.SHOULD)
> .add(params_value, BooleanClause.Occur.SHOULD)
> .add(param_name, BooleanClause.Occur.SHOULD)
> .setMinimumNumberShouldMatch(1)
> .build()
>
>
> ConstTe
se.Occur.SHOULD)
.add(param_name, BooleanClause.Occur.SHOULD)
.setMinimumNumberShouldMatch(1)
.build()
ConstTermQuery here is my custom Query that creates own WEIGHT and then
SCORE. Created score returns just specified score in constructor (4 for
"params_name"). Test
expected number of matching documents for this
scorer. It is useful in order to run operations in the optimal order
Your observation of the behaviour of your BooleanQuery with SHOULD clauses
looks wrong: the score of the boolean query is the sum of the scores of the
matching sub queries.
Le jeu
Hi
1) What is the principal difference between COST vs SCORE vs WEIGHT
2) Assume we have BooleanQuery with 5 TermQuery subqueries that are
included via SHOULD condition. Assume we have 5 fields and one subquery is
need to search in one field. Some product of MultiFieldQueryParser. In this
case
e.apache.org
> Subject: How do I get lucene to score a given document
>
> Hello, I am a student of Chinese Academy of Sciences. Search engine that
> based on lucene is an important part of our experiment. My question is how
> can I get lucene to score the given documents. For example, I
Hello, I am a student of Chinese Academy of Sciences. Search engine that based
on lucene is an important part of our experiment. My question is how can I get
lucene to score the given documents. For example, I just want lucene to score
the document in the given docId set. As far as i know
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.
Woodward
>> www.flax.co.uk
>>
>>
>> On 30 Jul 2015, at 05:22, 丁儒 wrote:
>>
>> >
>> >
>> > It seems that ConstantScoreQuery use the Weight and Score of the Query
>> it wrapperd, like TermWeight and TermScorer , so it can't speed up the
>> se
.
>
> Alan Woodward
> www.flax.co.uk
>
>
> On 30 Jul 2015, at 05:22, 丁儒 wrote:
>
> >
> >
> > It seems that ConstantScoreQuery use the Weight and Score of the Query
> it wrapperd, like TermWeight and TermScorer , so it can't speed up the
> search, because the wei
What version of lucene are you using? From Lucene 5.1 you can tell queries to
not report scores, which will give you the speedup you require here.
Alan Woodward
www.flax.co.uk
On 30 Jul 2015, at 05:22, 丁儒 wrote:
>
>
> It seems that ConstantScoreQuery use the Weight and Score of
It seems that ConstantScoreQuery use the Weight and Score of the Query it
wrapperd, like TermWeight and TermScorer , so it can't speed up the search,
because the weight and score is still calculated. Maybe i make it wrong, but i
did some test, the search time of ‘ new ConstantScoreQuer
ConstantScoreQuery is the proper approach. What specific failure did you
encounter?
-- Jack Krupansky
On Wed, Jul 29, 2015 at 7:09 AM, 丁儒 wrote:
> Hi, all
> Currently i'm using lucene. But i don't care the score and weight, i
> just need the documents meets the query.
Hi, all
Currently i'm using lucene. But i don't care the score and weight, i just
need the documents meets the query. I tried some way to ignore the score, like
rewrite TermQury, disable the TermWeight and TermScore, but there are a lot of
queries, and this is incompatible with Q
ler set) for
a client. So I calculated the z-score (across all concepts) for both
content sets and used that to rescale the concept scores of the old set to
the new set. Although the underlying math was a bit sketchy, the merged
results looked quite good.
Hope this helps,
-sujit
On Fri, Apr
/org/apache/lucene/search/IndexSearcher.html#explain(org.apache.lucene.search.Query,
int)
-- Jack Krupansky
On Fri, Apr 10, 2015 at 4:15 PM, Gregory Dearing
wrote:
> Hi Ali,
>
> The short answer to your question is... there's no good way to create a
> score from your result stri
Hi Ali,
The short answer to your question is... there's no good way to create a
score from your result string, without using the Lucene index, that will be
directly comparable to the Lucene score. The reason is that the score
isn't just a function of the query and the contents of th
Hello,
I'm in a situation where a search query string is being submitted
simultaneously to Lucene, and to an external API.
Results are fetched from both sources. I already have a score available for
Lucene results, but I don't have a score for the results fetched from the
external so
On Mon, Oct 27, 2014 at 3:36 PM, Priyanka Tufchi <
priyanka.tuf...@launchship.com> wrote:
> Hi
> Actually , It should give 10 docs match index but it is giving for 8 . I
> checked rest 2 are not matching doc with very less score . Is there any way
> I can get those two doc which hav
Hi
Actually , It should give 10 docs match index but it is giving for 8 . I
checked rest 2 are not matching doc with very less score . Is there any way
I can get those two doc which have not matched.
And I have set hitpage =10 .
Thanks
Priyanka
On Mon, Oct 27, 2014 at 6:14 AM, Shai Erera
top-10.
Again, if you have a short test that demonstrates the problem, that would
be good.
Shai
On Mon, Oct 27, 2014 at 2:39 PM, Priyanka Tufchi <
priyanka.tuf...@launchship.com> wrote:
> Hi All
>
> Actually I have set of 10 doc which i gave for comparison through apache
> lucene now
Hi All
Actually I have set of 10 doc which i gave for comparison through apache
lucene now when i check score for the set ,out of 10 i am getting 8 in my
database , rest 2 are not showing . If the score is very less still lucene
should show something , how can i handle it as i have to show all
Hi everyone,
I searched an index with 3 its' fields({"name", "addr", "fullname"}), and used
DisjunctionMaxQuery to rank the results by the max score of 3 fields. When the
hits have same score, lucene would rank by doc Id(low doc Id would be front).
But
: Yes the score will change, because the new documents change the
: statistics. In general, scores cannot be seen as absolute numbers, they
: are only useful to compare between search results of the exact same
: query at the same index snapshot. They have no global meaning.
This wiki page
Yes the score will change, because the new documents change the statistics. In
general, scores cannot be seen as absolute numbers, they are only useful to
compare between search results of the exact same query at the same index
snapshot. They have no global meaning.
Uwe
-
Uwe Schindler
H
I am planning to implement lucene searching in my project.
I have to save score of document corresponding to query .
say i have query q and documents d1,d2,d3 .after running lucene i got
q1 d30.643
d10.554
d20.462
Now 1 more document d4 comes and above
Hi All
I have Taken 2 Docs:
1 DOC has Skills- 1) Manual Testing 2) Software Testing
2 DOC has Skills-1) SQL 2) RDBMS
Now
My Child Query has Skills :1)Software Testing
2) Manual Testing
and the Parent Query (JobID)
which when I give Parent Query (1) then the score it gives
1.8696475
and
iginal Message-
>> From: andy [mailto:
> yhlweb@
> ]
>> Sent: Wednesday, February 12, 2014 10:53 AM
>> To:
> java-user@.apache
>> Subject: RE: Length of the filed does not affect the doc score accurately
>> for
>> chinese analyzer(SmartChin
affect the doc score accurately for
> chinese analyzer(SmartChineseAnalyzer)
>
> Thanks Uwe,could you please give me a more detail example about how to
> change the lucene behavior
>
>
> Uwe Schindler wrote
> > Hi Erick,
> >
> > a statement like " Adding &a
> uwe@
>
>
>> -Original Message-
>> From: Erick Erickson [mailto:
> erickerickson@
> ]
>> Sent: Wednesday, January 15, 2014 1:30 PM
>> To: java-user
>> Subject: Re: Length of the filed does not affect the doc score accurately
>> f
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Erick Erickson [mailto:erickerick...@gmail.com]
> Sent: Wednesday, January 15, 2014 1:30 PM
> To: java-user
> Subject: Re: Length of the filed does not affect
thanks for your reply Erick, this is the case ,But how can I keep the
precision of the fields' length?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Length-of-the-filed-does-not-affect-the-doc-score-accurately-for-chinese-analyzer-SmartChineseAnalyz-tp4111390p4116832
Hi guys,
>
> As the topic,it seems that the length of filed does not affect the doc score
> accurately for chinese analyzer in my source code
>
> index source code
>
> private static Directory DIRECTORY;
>
>
> @BeforeClass
> public static void before() throws I
Hi guys,
As the topic,it seems that the length of filed does not affect the doc score
accurately for chinese analyzer in my source code
index source code
private static Directory DIRECTORY;
@BeforeClass
public static void before() throws IOException {
DIRECTORY = new
an its usual
> score. I mean I have probabilities of which documents user may want to see
> for given keywords.
>
> I have come up with that idea. I can put a new field to my schema. This
> field holds keyword and probability as payload. When a user searches for a
> keyword I will calc
Hi;
I use Solr 4.5.1 I have a case: When a user searches for some specific
keywords some documents should be listed at much more higher than its usual
score. I mean I have probabilities of which documents user may want to see
for given keywords.
I have come up with that idea. I can put a new
all statistics in lucene are per field so is document frequency
simon
On Fri, Mar 22, 2013 at 10:48 AM, Nicole Lacoste wrote:
> Hi
>
> I am trying to figure out if the document-frequency of a term used in
> calculating the score. Is it per field? Or is independent of the field
Hi
I am trying to figure out if the document-frequency of a term used in
calculating the score. Is it per field? Or is independent of the field?
Thanks
Niki
--
* <https://twitter.com/#!/niki_in_france>*
larity is a low level class used by some queries (for example
TermQueries) but I don't think that you need something so low level from
what you describe.
Thanks
Emmanuel
2013/3/6 Michael O'Leary
> Is there an api in Lucene for finding the similarity score for two
> documents that
1 - 100 of 544 matches
Mail list logo