|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotThreadSafe protected static interface AbstractLuceneSearchEngine.WorkspaceSession
Method Summary | |
---|---|
void |
commit()
Subclasses should implement this method to commit and save any work that has been done with this processor. |
AbstractLuceneSearchEngine.TupleCollector |
createTupleCollector(QueryResults.Columns columns)
Create a AbstractLuceneSearchEngine.TupleCollector instance that collects the results from the index(es). |
org.apache.lucene.search.Query |
findAllNodesAtOrBelow(Path ancestorPath)
|
org.apache.lucene.search.Query |
findAllNodesBelow(Path ancestorPath)
|
org.apache.lucene.search.Query |
findChildNodes(Path parentPath)
Return a query that can be used to find all of the documents that represent nodes that are children of the node at the supplied path. |
org.apache.lucene.search.Query |
findNodeAt(Path path)
Create a query that can be used to find the one document (or node) that exists at the exact path supplied. |
org.apache.lucene.search.Query |
findNodesLike(String fieldName,
String likeExpression,
boolean caseSensitive)
Create a query that can be used to find documents (or nodes) that have a field value that satisfies the supplied LIKE expression. |
org.apache.lucene.search.Query |
findNodesWith(Length propertyLength,
Operator operator,
Object value)
|
org.apache.lucene.search.Query |
findNodesWith(NodeDepth depthConstraint,
Operator operator,
Object value)
|
org.apache.lucene.search.Query |
findNodesWith(NodeLocalName nodeName,
Operator operator,
Object value,
boolean caseSensitive)
|
org.apache.lucene.search.Query |
findNodesWith(NodeName nodeName,
Operator operator,
Object value,
boolean caseSensitive)
|
org.apache.lucene.search.Query |
findNodesWith(NodePath nodePath,
Operator operator,
Object value,
boolean caseSensitive)
|
org.apache.lucene.search.Query |
findNodesWith(PropertyValue propertyValue,
Operator operator,
Object value,
boolean caseSensitive)
|
org.apache.lucene.search.Query |
findNodesWith(ReferenceValue referenceValue,
Operator operator,
Object value)
|
org.apache.lucene.search.Query |
findNodesWithNumericRange(NodeDepth depth,
Object lowerValue,
Object upperValue,
boolean includesLower,
boolean includesUpper)
|
org.apache.lucene.search.Query |
findNodesWithNumericRange(PropertyValue propertyValue,
Object lowerValue,
Object upperValue,
boolean includesLower,
boolean includesUpper)
|
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
|
int |
getChangeCount()
Get the number of changes that have been made to the workspace using this session. |
org.apache.lucene.search.IndexSearcher |
getContentSearcher()
|
org.apache.lucene.util.Version |
getVersion()
|
String |
getWorkspaceName()
|
boolean |
hasWriters()
|
void |
rollback()
Subclasses should implement this method to throw away any work that has been done with this processor. |
Method Detail |
---|
String getWorkspaceName()
boolean hasWriters()
void rollback()
void commit()
int getChangeCount()
org.apache.lucene.search.IndexSearcher getContentSearcher() throws IOException
IOException
org.apache.lucene.analysis.Analyzer getAnalyzer()
org.apache.lucene.util.Version getVersion()
AbstractLuceneSearchEngine.TupleCollector createTupleCollector(QueryResults.Columns columns)
AbstractLuceneSearchEngine.TupleCollector
instance that collects the results from the index(es).
columns
- the column definitions; never null
org.apache.lucene.search.Query findAllNodesBelow(Path ancestorPath) throws IOException
IOException
org.apache.lucene.search.Query findAllNodesAtOrBelow(Path ancestorPath) throws IOException
IOException
org.apache.lucene.search.Query findChildNodes(Path parentPath) throws IOException
parentPath
- the path of the parent node.
IOException
- if there is an error creating the queryorg.apache.lucene.search.Query findNodeAt(Path path) throws IOException
path
- the path of the node
IOException
- if there is an error creating the queryorg.apache.lucene.search.Query findNodesLike(String fieldName, String likeExpression, boolean caseSensitive) throws IOException
fieldName
- the name of the document field to searchlikeExpression
- the JCR like expressioncaseSensitive
- true if the evaluation should be performed in a case sensitive manner, or false otherwise
IOException
- if there is an error creating the queryorg.apache.lucene.search.Query findNodesWith(Length propertyLength, Operator operator, Object value) throws IOException
IOException
org.apache.lucene.search.Query findNodesWith(PropertyValue propertyValue, Operator operator, Object value, boolean caseSensitive) throws IOException
IOException
org.apache.lucene.search.Query findNodesWith(ReferenceValue referenceValue, Operator operator, Object value) throws IOException
IOException
org.apache.lucene.search.Query findNodesWithNumericRange(PropertyValue propertyValue, Object lowerValue, Object upperValue, boolean includesLower, boolean includesUpper) throws IOException
IOException
org.apache.lucene.search.Query findNodesWithNumericRange(NodeDepth depth, Object lowerValue, Object upperValue, boolean includesLower, boolean includesUpper) throws IOException
IOException
org.apache.lucene.search.Query findNodesWith(NodePath nodePath, Operator operator, Object value, boolean caseSensitive) throws IOException
IOException
org.apache.lucene.search.Query findNodesWith(NodeName nodeName, Operator operator, Object value, boolean caseSensitive) throws IOException
IOException
org.apache.lucene.search.Query findNodesWith(NodeLocalName nodeName, Operator operator, Object value, boolean caseSensitive) throws IOException
IOException
org.apache.lucene.search.Query findNodesWith(NodeDepth depthConstraint, Operator operator, Object value) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |