Hi,

I’m trying to get facets working with orientdb. But I’m running into write.lock 
issue while creating the schema. Please can someone point out issue with the 
following statement.

CREATE INDEX Business.name_locality ON Business (name, locality) FULLTEXT 
ENGINE LUCENE METADATA { 'facetFields' : ['locality']}


com.orientechnologies.orient.core.exception.OStorageException: Cannot put key 
value entry in index
        DB name="graph"
--> com.orientechnologies.orient.core.exception.OStorageException: Cannot put 
key value entry in index
        DB name="graph"
--> com.orientechnologies.orient.core.index.OIndexException: Cannot get 
searcher from index Business.locality
        DB name="graph"
--> org.apache.lucene.store.LockObtainFailedException: Lock held by this 
virtual machine: 
~/orientdb-community-2.2.6/databases/graph/luceneIndexes/Business.locality_facet/write.lock
 [ONetworkProtocolHttpDb]

OS - Mac
Orientdb - 2.2.3 as well as 2.2.6


Just to be clear, I don’t have any other process accessing the index. I had 
same issue with JAVA api as well.

~Ruitu

-- 

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