_g.command(new OCommandSQL("CREATE INDEX IX_English_label ON English (label) FULLTEXT")).execute();
explain SELECT * FROM index:IX_English_label WHERE key = 'apple'
@version | elapsed | resultType | resultSize |
---|---|---|---|
0 | 0.201853 | collection | 49 |
explain SELECT * FROM English WHERE label = 'apple'
@version | involvedIndexes | current | fetchingFromTargetElapsed | documentReads | documentAnalyzedCompatibleClass | recordReads | elapsed | resultType | resultSize |
---|---|---|---|---|---|---|---|---|---|
0 | [1] | #12:117790 | 2307 | 117791 | 117791 | 117791 | 2307.6055 | collection | 2 |
explain SELECT * FROM Food WHERE label = 'apple'
@version | involvedIndexes | current | fetchingFromTargetElapsed | documentReads | documentAnalyzedCompatibleClass | recordReads | elapsed | resultType | resultSize |
---|---|---|---|---|---|---|---|---|---|
0 | [1] | #12:117790 | 2291 | 117791 | 117791 | 117791 | 2292.1934 | collection | 2 |
Orient Technologies
the Company behind OrientDB--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
SELECT * FROM index:IX_English_label WHERE key MATCHES "^apple$"
SELECT * FROM index:IX_English_label WHERE key LIKE "%apple"
SELECT * FROM en WHERE label LIKE '%apple'
Orient Technologies
the Company behind OrientDBSELECT FROM (SELECT expand(rid) FROM index:IX_English_label WHERE key = 'apple' ) WHERE label = 'apple'
Orient Technologies
the Company behind OrientDB