orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

Multiple CONTAINSTEXT terms within one query [moved]

Open lvca opened this issue 13 years ago • 2 comments

This is Issue 996 moved from a Google Code project. Added by 2012-08-03T03:43:53.000Z by [email protected]. Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Low

Original description

Currently queries on FULLTEXT indices only support a single CONTAINSTEXT term.

Would be very useful to be able to execute a query with multiple CONTAINSTEXT terms within the usual AND/OR conditions.

lvca avatar Dec 10 '12 15:12 lvca

+1 maybe add something like https://groups.google.com/forum/#!msg/orient-database/O-_79DsLTt8/nOQURfTFHu0J ?

this still is not working ? select from index:MyEntity_defaultName WHERE key CONTAINSTEXT 'Apple' LIMIT 10 This one works for entires like "Apple macBook Pro", "Apple MacBook Air"

select from index:MyEntity_defaultName WHERE key CONTAINSTEXT 'App' LIMIT 10 No results

select from index:MyEntity_defaultName WHERE key CONTAINSTEXT 'App%' LIMIT 10 No results

select from index:MyEntity_defaultName WHERE key CONTAINSTEXT 'App*' LIMIT 10 No results

deluxxx avatar Dec 17 '13 11:12 deluxxx

Not relevant anymore. We use Lucene for this. Closing it.

lvca avatar Aug 03 '17 12:08 lvca