public interface OakSolrConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
getCatchAllField()
Provide a field name that is used as the default "catch all" field for searching over all the data
|
CommitPolicy |
getCommitPolicy()
Provide the commit policy to be used by a given
SolrServer |
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 |
Collection<String> |
getIgnoredProperties()
Provide the names of the properties that should be neither indexed nor searched by the Solr index
|
String |
getPathField()
Provide the field name for indexing / searching paths
|
int |
getRows()
Provide the number of documents (rows) to be fetched for each Solr query
|
Collection<String> |
getUsedProperties()
Provide the names of the properties that should be indexed and searched by the Solr index
|
boolean |
useForPathRestrictions()
Define if the Solr index should be used to filter by path restrictions
|
boolean |
useForPrimaryTypes()
Define if the Solr index should be used to filter by primary types
|
boolean |
useForPropertyRestrictions()
Define if the Solr index should be used to address property restrictions
|
@CheckForNull String getFieldNameFor(org.apache.jackrabbit.oak.api.Type<?> propertyType)
TypepropertyType - the Type to be indexed / searchedType, or null
if no specific field has been configured to handle the given Type.@Nonnull String getPathField()
@CheckForNull String getFieldForPathRestriction(org.apache.jackrabbit.oak.spi.query.Filter.PathRestriction pathRestriction)
Filter.PathRestrictionpathRestriction - the Filter.PathRestriction used for filtering
search results or null if no specific field has been configured for it.PathRestriction.@CheckForNull String getFieldForPropertyRestriction(org.apache.jackrabbit.oak.spi.query.Filter.PropertyRestriction propertyRestriction)
Filter.PropertyRestrictionpropertyRestriction - the Filter.PropertyRestriction used for filtering search resultsPropertyRestriction or null if no specific field
has been configured for it.@Nonnull CommitPolicy getCommitPolicy()
SolrServerCommitPolicy@CheckForNull String getCatchAllField()
null if no specific field
has been configured for it.int getRows()
boolean useForPropertyRestrictions()
true if SolrQueryIndex should be used
for Filter.PropertyRestrictionsboolean useForPrimaryTypes()
true if SolrQueryIndex should be used
for filtering by primary typesboolean useForPathRestrictions()
true if SolrQueryIndex should be used
for filtering by Filter.PathRestrictions@Nonnull Collection<String> getIgnoredProperties()
Collection of property names for properties to be ignored@Nonnull Collection<String> getUsedProperties()
Collection of property names for properties to be ignoredCopyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.