Hi Ruitu That is why facets are not supported. That was an experimental version, absolutely not ready for production and not well tested. It is not documented and you should not use it.
Thanks 2016-08-06 18:18 GMT+01:00 Ruituraj Gandhi (Knowledge Explosion) < [email protected]>: > 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. > -- --- 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.
