You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Benjamin Papez (JIRA)" <ji...@apache.org> on 2013/03/25 19:43:16 UTC
[jira] [Created] (JCR-3542) Failing FullTextSearchScoreImpl unit
test with native sort activated
Benjamin Papez created JCR-3542:
-----------------------------------
Summary: Failing FullTextSearchScoreImpl unit test with native sort activated
Key: JCR-3542
URL: https://issues.apache.org/jira/browse/JCR-3542
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: query
Affects Versions: 2.4.3
Reporter: Benjamin Papez
When switching on native sort, the FullTextSearchScoreImpl unit test starts to fail now and then.#
The problem seems to be in: QueryEngine.createSortFields in
if (JcrConstants.JCR_SCORE.equals(p)) {
sortFields.add(new SortField(null, SortField.SCORE, !isAsc));
here the order by function in the query is: SCORE(s) and not jcr:score
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira