Skip to content
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

Add support for all possible Lucene query types #5189

Closed
robfrank opened this issue Oct 21, 2015 · 1 comment
Closed

Add support for all possible Lucene query types #5189

robfrank opened this issue Oct 21, 2015 · 1 comment
Assignees
Milestone

Comments

@robfrank
Copy link
Contributor

From @smolinari on September 24, 2015 15:19

I am going to be adding improvement requests as per Frank's request here.

https://groups.google.com/forum/#!topic/orient-database/9SaUrGvA8Vg

This is also with little knowledge of what ODB can do with Lucene currently. If ODB can do the suggestions, I apologize up front for the bit of extra work.

So, first request.

I'd like to be able to query Lucene anyway Lucene offers. This includes phrase queries, wildcard queries, proximity queries, range queries, etc.

Scott

Copied from original issue: orientechnologies/orientdb-lucene#68

@robfrank
Copy link
Contributor Author

hi, range queries are available from 2.2.14 on numeric and date fields.

http://orientdb.com/docs/2.2.x/Full-Text-Index.html#numeric-and-date-range-queries-from-2214
and take a look to the test:

https://github.com/orientechnologies/orientdb/blob/master/lucene/src/test/java/com/orientechnologies/lucene/test/LuceneRangeTest.java

proximity, phrase and wilcard are supported from the beginning because the module uses the Lucene query parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants