[
https://issues.apache.org/jira/browse/LUCENE-5598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Park JungHo updated LUCENE-5598:
--------------------------------
Description:
I had been generating long type's indexing data using LongField(Field name is
'boost' and value is atomicLong.) for using CustomScoreQuery.
And then, I'm applied following code.
//code start ========================================
FunctionQuery fquery = new FunctionQuery(new LongFieldSource("boost"));
CustomScoreQuery customQuery = new ScoreQuery(query, fquery);
//code end =========================================
If indexed data count is 100, I have expecting 100, 99, 98, ... 91.
But, result was not matched my expected when indexed data has more and more
counts. (For instance 85, 86, 87, 88, ... 94)
I had been think that was caused by scoring alogorithm returned float value.
(Floating point limit.)
That is correct?
How can I get the my expecting result?
was:
I had been generating long type's indexing data using LongField(Field name is
'boost' and value is atomicLong.) for using CustomScoreQuery.
And then, I'm applied following code.
//code start ========================================
FunctionQuery fquery = new FunctionQuery(new LongFieldSource("boost"));
CustomScoreQuery customQuery = new ScoreQuery(query, fquery);
//code end =========================================
If indexed data count is 100, I have expecting 100, 99, 98, ... 91.
But, result was not matched my expected when indexed data has more and more
counts .
I had been think that was caused by scoring alogorithm returned float value.
(Floating point limit.)
That is correct?
How can I get the my expecting result?
> About Scoring
> -------------
>
> Key: LUCENE-5598
> URL: https://issues.apache.org/jira/browse/LUCENE-5598
> Project: Lucene - Core
> Issue Type: Wish
> Components: core/query/scoring
> Affects Versions: 4.7
> Reporter: Park JungHo
> Labels: mentor, patch
> Fix For: 4.7
>
>
> I had been generating long type's indexing data using LongField(Field name is
> 'boost' and value is atomicLong.) for using CustomScoreQuery.
> And then, I'm applied following code.
> //code start ========================================
> FunctionQuery fquery = new FunctionQuery(new LongFieldSource("boost"));
> CustomScoreQuery customQuery = new ScoreQuery(query, fquery);
> //code end =========================================
> If indexed data count is 100, I have expecting 100, 99, 98, ... 91.
> But, result was not matched my expected when indexed data has more and more
> counts. (For instance 85, 86, 87, 88, ... 94)
> I had been think that was caused by scoring alogorithm returned float value.
> (Floating point limit.)
> That is correct?
> How can I get the my expecting result?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]