Class OLuceneIndexType
java.lang.Object
com.orientechnologies.lucene.builder.OLuceneIndexType
Created by enricorisa on 21/03/14.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.search.QuerycreateDeleteQuery(OIdentifiable value, List<String> fields, Object key, ODocument metadata) static org.apache.lucene.search.QuerycreateExactQuery(OIndexDefinition index, Object key) static org.apache.lucene.document.FieldcreateField(String fieldName, Object value, org.apache.lucene.document.Field.Store store) static List<org.apache.lucene.document.Field>createFields(String fieldName, Object value, org.apache.lucene.document.Field.Store store, Boolean sort) static org.apache.lucene.document.FieldcreateIdField(OIdentifiable id, Object key) static org.apache.lucene.document.Fieldstatic org.apache.lucene.search.QuerycreateQueryId(OIdentifiable value) static org.apache.lucene.search.QuerycreateQueryId(OIdentifiable value, Object key) static StringextractId(org.apache.lucene.document.Document doc) static StringgenValueId(OIdentifiable id, Object key) static String
-
Field Details
-
RID_HASH
- See Also:
-
-
Constructor Details
-
OLuceneIndexType
public OLuceneIndexType()
-
-
Method Details
-
createField
-
extractId
-
createIdField
-
createOldIdField
-
genValueId
-
createFields
-
createExactQuery
-
createQueryId
-
createQueryId
-
hashKey
-
createDeleteQuery
public static org.apache.lucene.search.Query createDeleteQuery(OIdentifiable value, List<String> fields, Object key, ODocument metadata)
-