-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lucene i cant search float type (even if in the schema) #7644
Comments
Can you post the schema and the command used to create the index, please? BTW, range queries use square brackets: http://orientdb.com/docs/3.0.x/indexing/Full-Text-Index.html#numeric-and-date-range-queries |
|
[ or { might be the same. Anyway ....select from a where search_class('ww:[2.1 TO *]')=true 0 item(s) found. Query executed in 0.006 sec(s). |
I think a range query with a wildcard can't work. What's the right part of the range? |
0 item(s) found. Query executed in 0.002 sec(s). If you use lucene >=6 there is a different way for mapping numbers . They use Points |
problem fixed, specific test added |
OrientDB Version: 3
Java Version: 8
+----+------+------+-----+----+----+
|# |@Rid |@Class|aa |qqq |ww |
+----+------+------+-----+----+----+
|0 |#48:16|A |false|5 | |
|1 |#48:17|A |false|5 |5.7 |
|2 |#48:19|A |false|5 |5.7 |
+----+------+------+-----+----+----+
select from a where search_class('ww:5.7')=true
0
select from a where search_class('ww:{2.1 TO *}')=true
0
The text was updated successfully, but these errors were encountered: