public class LuceneQueryFactory
extends java.lang.Object
| Constructor and Description |
|---|
LuceneQueryFactory(Directory directory,
Analyzer analyzer,
Session session,
java.util.Map<java.lang.String,Value> bindVariables)
Deprecated.
Creates a new lucene query factory.
|
| Modifier and Type | Method and Description |
|---|---|
Query |
create(FullTextSearch fts)
Deprecated.
Creates a lucene query for the given QOM full text search.
|
Query |
create(PropertyExistence prop)
Deprecated.
Creates a lucene query for the given QOM property existence constraint.
|
Query |
create(Selector selector)
Deprecated.
Creates a lucene query for the given QOM selector.
|
SearchResults<Row> |
execute(java.util.Map<java.lang.String,PropertyValue> columns,
Selector selector,
Constraint constraint,
Ordering[] orderings,
long offset,
long maxResults)
Deprecated.
|
public LuceneQueryFactory(Directory directory,
Analyzer analyzer,
Session session,
java.util.Map<java.lang.String,Value> bindVariables)
throws RepositoryException
session - the session that executes the query.bindVariables - the bind variable values of the queryRepositoryExceptionpublic SearchResults<Row> execute(java.util.Map<java.lang.String,PropertyValue> columns, Selector selector, Constraint constraint, Ordering[] orderings, long offset, long maxResults) throws RepositoryException, java.io.IOException
RepositoryExceptionjava.io.IOExceptionpublic Query create(Selector selector)
throws RepositoryException
selector - the selector.RepositoryException - if an error occurs while creating the query.public Query create(FullTextSearch fts)
throws RepositoryException
constraint - the full text search constraint.RepositoryException - if an error occurs while creating the query.public Query create(PropertyExistence prop)
throws RepositoryException
constraint - the QOM constraint.RepositoryException - if an error occurs while creating the query."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"