Hi Enrico, this is what I see:
orientdb {db=newSmallDB}> select count(*) from index:Personid               
     

----+------+-----
#   |@CLASS|count
----+------+-----
0   |null  |1000 
----+------+-----

1 item(s) found. Query executed in 0.0 sec(s).

so definitely it is creating the index but I can't select keys from it, the 
reason for creating the index is to be able to do stuff like:
select * from Person where Personid LUCENE "12*"

On Tuesday, April 21, 2015 at 5:33:56 PM UTC-4, Enrico Risa wrote:
>
> If you do
>
> select count(*) from index:Personid  ?
>
> 2015-04-21 23:20 GMT+02:00 sck2015 <[email protected] <javascript:>>:
>
>> Hi all, has anyone seen this behavior before, I am creating a lucene 
>> index and I don't see a match even though the index appears to have been 
>> successfully created (I am using version 2.0.7)
>>
>>
>> orientdb {db=newSmallDB}> create index Personid on Person(personid) 
>> FULLTEXT ENGINE LUCENE
>>
>>
>> Creating index...
>> Created index successfully with 1000 entries in 0.411000 sec(s).
>>
>>
>> Index created successfully
>> orientdb {db=newSmallDB}> select from index:Personid                     
>>                  
>>
>>
>> 0 item(s) found. Query executed in 0.0 sec(s).
>>
>>
>> OR, trying to select keys:
>>
>> orientdb {db=newSmallDB}> select key from index:Personid
>>
>>
>> 0 item(s) found. Query executed in 0.0 sec(s).
>>
>> Does anyone know why this may be happening? Ty, Sonu (same is whether 
>> underlying type is string, embeddedlist string, long)
>>
>> -- 
>>
>> --- 
>> 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] <javascript:>.
>> 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