cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong results of searching documents with double property

itia
Champ in-the-making
Champ in-the-making
Hi All!

I have problem with lucene search.

I have type (see TandemRepoModel.txt) with double property. And i have document of type "docBase" with property sys_doc_num value=12.05. But when i try find this document in Alfresco node browser using lucene search engine by condition "@tandem\:sys_doc_num:[11.01 TO 118]" the search returns 0 results. Some other conditions return right answers, but i can’t understand why only some of them.

I create the bug https://issues.alfresco.com/jira/browse/ALF-20964

If anyone has experience in this, I'll be grateful for the help and ideas. Can somebody repeat such behavior?

Thanks,
Andrey
1 REPLY 1

itia
Champ in-the-making
Champ in-the-making
My mistake. Double values must be tokenised or they are indexed as strings and compared lexographically.