Multiple CONTAINSTEXT terms within one query [moved]
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.
+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
Not relevant anymore. We use Lucene for this. Closing it.