Hi OrientDB team,

First of all, thanks for your quick response and having a new 
Orientdb-lucene release out.

We are trying out the latest Orientdb-lucene release 
(oreintdb-lucene-1.7.0-dist.jar) in Orientdb-1.7.10. I had the impression 
that Orientdb-lucene was doing stemming, but tests show it doesn't do 
stemming. Is this the expected behaviour or did I do anything wrong? Bellow 
are my tests. It shows I only get results when there is an exact match.

orientdb> create database plocal:/opt/orientdb/databases/cjtest user passwd 
plocal
Creating database [plocal:/opt/ndex/orientdb/databases/cjtest] using the 
storage type [plocal]...
Database created successfully.

Current database is: plocal:/opt/ndex/orientdb/databases/cjtest
orientdb {db=cjtest}> create class mytest extends V

Class created successfully. Total classes in database now: 11
orientdb {db=cjtest}> create property mytest.name string

Property created successfully with id=1

orientdb {db=cjtest}> create index lfoo on mytest(name) fulltext engine 
lucene;


Creating index...
Created index successfully with 0 entries in 0.537000 sec(s).


Index created successfully
orientdb {db=cjtest}> insert into mytest(name) values ('Calcitonin-like 
ligand receptors');

Inserted record 'mytest#11:0{name:Calcitonin-like ligand receptors} v1' in 
0.052000 sec(s).

orientdb {db=cjtest}> insert into mytest(name) values ('Calcitonin-like 
ligand receptors');

Inserted record 'mytest#11:0{name:Calcitonin-like ligand receptors} v1' in 
0.052000 sec(s).

orientdb {db=cjtest}> select * from mytest where name lucene "ligand";

----+-----+--------------------------------
#   |@RID |name                            
----+-----+--------------------------------
0   |#11:0|Calcitonin-like ligand receptors
----+-----+--------------------------------

1 item(s) found. Query executed in 0.062 sec(s).
orientdb {db=cjtest}> select * from mytest where name lucene "ligands";


0 item(s) found. Query executed in 0.002 sec(s).
orientdb {db=cjtest}> select * from mytest where name lucene "receptors";

----+-----+--------------------------------
#   |@RID |name                            
----+-----+--------------------------------
0   |#11:0|Calcitonin-like ligand receptors
----+-----+--------------------------------

1 item(s) found. Query executed in 0.001 sec(s).
orientdb {db=cjtest}> select * from mytest where name lucene "receptor"; 


0 item(s) found. Query executed in 0.001 sec(s).
orientdb {db=cjtest}> select * from mytest where name lucene "receptors";

----+-----+--------------------------------
#   |@RID |name                            
----+-----+--------------------------------
0   |#11:0|Calcitonin-like ligand receptors
----+-----+--------------------------------

1 item(s) found. Query executed in 0.002 sec(s).
                                       
Thanks,
Jing

-- 

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