public interface OakSolrConfiguration
| Modifier and Type | Method and Description |
|---|---|
CommitPolicy |
getCommitPolicy()
Provide the commit policy to be used with the underlying Solr instance
|
String |
getFieldForPathRestriction(org.apache.jackrabbit.oak.spi.query.Filter.PathRestriction pathRestriction)
Provide a field name to search over for the given
Filter.PathRestriction |
String |
getFieldForPropertyRestriction(org.apache.jackrabbit.oak.spi.query.Filter.PropertyRestriction propertyRestriction)
Provide a field name to search over for the given
Filter.PropertyRestriction |
String |
getFieldNameFor(org.apache.jackrabbit.oak.api.Type<?> propertyType)
Provide a field name to be used for indexing / searching a certain
Type |
String |
getPathField()
Provide the field name for indexing / searching paths
|
String getFieldNameFor(org.apache.jackrabbit.oak.api.Type<?> propertyType)
TypepropertyType - the Type to be indexed / searchedString representing the Solr field to be used for the given Type.String getPathField()
String representing the Solr field to be used for paths.String getFieldForPathRestriction(org.apache.jackrabbit.oak.spi.query.Filter.PathRestriction pathRestriction)
Filter.PathRestrictionpathRestriction - the Filter.PathRestriction used for filtering search resultsString to be used by Solr for the given restrictionString getFieldForPropertyRestriction(org.apache.jackrabbit.oak.spi.query.Filter.PropertyRestriction propertyRestriction)
Filter.PropertyRestrictionpropertyRestriction - the Filter.PropertyRestriction used for filtering search resultsString to be used by Solr for the given restrictionCommitPolicy getCommitPolicy()
CommitPolicyCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.