Hi,

We have been using Lucene search in 2.0.* and it's been working well (thank 
you).

Now I'm upgrading to 2.1 (GA) and Lucene has stopped working, at least in 
the way it did.

1. Selecting directly from an index works just fine: 

SELECT * FROM index:ASInternal_eid WHERE key LUCENE "entity_id:plan"

 
2. Selecting from the Class returns an error:

SELECT * FROM ASInternal WHERE entity_id LUCENE "plan"


java.lang.ClassCastException: 
com.orientechnologies.lucene.collections.OFullTextCompositeKey cannot be 
cast to java.lang.String
at 
com.orientechnologies.common.serialization.types.OStringSerializer.preprocess(OStringSerializer.java:32)
at 
com.orientechnologies.orient.core.index.hashindex.local.OLocalHashTable.get(OLocalHashTable.java:320)
at 
com.orientechnologies.orient.core.index.engine.OHashTableIndexEngine.get(OHashTableIndexEngine.java:158)
at 
com.orientechnologies.orient.core.index.OIndexOneValue.get(OIndexOneValue.java:63)
at 
com.orientechnologies.orient.core.index.OIndexOneValue.get(OIndexOneValue.java:45)
at 
com.orientechnologies.orient.core.index.OIndexAbstractDelegate.get(OIndexAbstractDelegate.java:59)
at 
com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.get(OIndexTxAwareOneValue.java:236)
at 
com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.get(OIndexTxAwareOneValue.java:41)
at 
com.orientechnologies.lucene.operator.OLuceneTextOperator.executeIndexQuery(OLuceneTextOperator.java:51)


Has anyone else experienced this here?

I also got quite curious  when I saw OLuceneFacetManager and wonder if it's 
working already and if any documentation is available at this point :).

Thank you,
 -Stefan



-- 

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