nope. to make it more clear the following sequence fails

CREATE INDEX User.combined_name ON User(firstName,lastName,email,username) 
FULLTEXT ENGINE LUCENE;
insert into User SET username='aris',emai='[email protected]' 
select * from User where [firstName,lastName,email,username] LUCENE "ari*"


On Saturday, February 21, 2015 at 11:22:07 AM UTC+1, Vitor Enes Duarte 
wrote:
>
> See this link 
> <https://github.com/orientechnologies/orientdb-lucene/wiki/Full-Text-Index#working-with-multiple-field>
> .
>
> I believe you have to:
> select * from User where [firstName,lastName,email,username] LUCENE "ari*"
>
> so that the index gets triggered.
>
> sexta-feira, 20 de Fevereiro de 2015 às 11:02:41 UTC, Aris Alexis escreveu:
>>
>> hi,
>>
>> I have an index created with
>>
>> CREATE INDEX User.combined_name ON User(firstName,lastName,email,username) 
>> FULLTEXT ENGINE LUCENE
>>
>>
>> when I make a select * from User where username LUCENE "ari*" I get 
>> nothing.
>>
>> I can see the index in the list of indices.
>>
>> when I insert values this is supposed to index automatically right? 
>>
>>
>>
>>

-- 

--- 
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