Hi Riccardo,

you could try this query

select from Class where property containsText "graph" OR name containsText
"database"

With 1.7 snapshot you could also index the prefix of a word
https://github.com/orientechnologies/orientdb/wiki/FullTextIndex

I think there isn't an operator that does the split and search each word





2014-04-16 12:24 GMT+02:00 Riccardo Tasso <[email protected]>:

> Hi all,
>    let's say I have the following query: "graph databases" and I want to
> search for all the vertices with a label which contains at least one of the
> terms "graph" OR "database". This means that all the following labels are
> good: "I love graph databases", "I love databases", "I have a graph".
>
> Is it possible to use a OrientDB full-text index to perform this query?
> How?
>
> Cheers,
>    Riccardo
>
> --
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to