| Package | Description |
|---|---|
| de.hybris.platform.lucenesearch.jalo |
| Modifier and Type | Method and Description |
|---|---|
IndexConfiguration |
LuceneIndex.createIndexConfiguration(ComposedType indexedType)
Create a new IndexConfiguration, without initial languages or indexed attributes.
|
IndexConfiguration |
LuceneIndex.createIndexConfiguration(ComposedType indexedType,
Collection<AttributeDescriptor> indexedAttributes)
Create a new IndexConfiguration.
|
IndexConfiguration |
GeneratedLucenesearchManager.createIndexConfiguration(Map attributeValues) |
IndexConfiguration |
GeneratedLucenesearchManager.createIndexConfiguration(SessionContext ctx,
Map attributeValues) |
IndexConfiguration |
GeneratedAttributeConfiguration.getIndexConfiguration()
Generated method - Getter of the
AttributeConfiguration.indexConfiguration attribute. |
IndexConfiguration |
GeneratedIndexUpdate.getIndexConfiguration()
Generated method - Getter of the
IndexUpdate.indexConfiguration attribute. |
IndexConfiguration |
GeneratedAttributeConfiguration.getIndexConfiguration(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.indexConfiguration attribute. |
IndexConfiguration |
GeneratedIndexUpdate.getIndexConfiguration(SessionContext ctx)
Generated method - Getter of the
IndexUpdate.indexConfiguration attribute. |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<IndexConfiguration> |
DefaultPostQueryFilter.findRestrictedIndexConfigurations(FlexibleSearch flexibleSearch,
SessionContext ctx,
LuceneIndex index)
Checks the specified index whether or not there are active search restrictions for it within the current session
context.
|
protected Map<LuceneIndex,Map<IndexConfiguration,Collection<IndexUpdate>>> |
UpdateIndexJob.getAndMarkPendingUpdates(CronJob cronjob) |
Collection<IndexConfiguration> |
GeneratedLuceneIndex.getIndexConfigurations()
Generated method - Getter of the
LuceneIndex.indexConfigurations attribute. |
Collection<IndexConfiguration> |
LuceneIndex.getIndexConfigurations() |
abstract Collection<IndexConfiguration> |
GeneratedLuceneIndex.getIndexConfigurations(SessionContext ctx)
Generated method - Getter of the
LuceneIndex.indexConfigurations attribute. |
Collection<IndexConfiguration> |
LuceneIndex.getIndexConfigurations(SessionContext ctx)
Gets all IndexConfigurations in this index.
|
Collection<IndexConfiguration> |
LuceneIndex.getIndexConfigurationsByIndexedType(ComposedType indexedType)
Gets the IndexConfigurations in this index with the given indexedType.
|
protected static Map<IndexConfiguration,Set<Item>> |
UpdateIndexJob.getIndexConfigurationsUpdateMap(Collection<Item> items)
Matches a collection of items to all existing
index configurations. |
Map<IndexConfiguration,Set<Item>> |
LuceneIndex.getIndexConfigurationsUpdateMap(Collection<Item> items) |
protected static Map<ComposedType,Set<IndexConfiguration>> |
UpdateIndexJob.getType2ConfigsMap(Set<ComposedType> filterTypes)
Queries all existing
IndexConfiguration and returns all existing mappings between indexed types and their index
configuration. |
protected Map<ComposedType,Set<IndexConfiguration>> |
LuceneIndex.getType2IndexConfigMap() |
protected Map<IndexConfiguration,BitSet> |
DefaultPostQueryFilter.groupItemsByIndexedType(SessionContext ctx,
Collection<IndexConfiguration> indexedTypes,
Item[] items)
Groups all given items by their types resp.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultIndexedDataFactory.addGroupingSearchFields(IndexConfiguration config,
StringBuilder query,
List classes)
Adds the
grouping attribute, if one is set. |
protected List |
DefaultIndexedDataFactory.buildIndexedDataList(IndexConfiguration config,
List rows)
Convert the FlexibleSearch result into a list of
IndexedData objects. |
void |
DefaultIndexedDataFactory.documentCreated(IndexConfiguration config,
IndexedData data,
Document doc)
Does nothing right now.
|
void |
IndexedDataFactory.documentCreated(IndexConfiguration config,
IndexedData data,
Document doc)
Called after all item fields has been put into a
Document just before writing the document into the lucene
index. |
Collection |
DefaultIndexedDataFactory.getActivationAttributes(IndexConfiguration config)
Deprecated.
|
Collection<AttributeDescriptor> |
IndexedDataFactory.getActivationAttributes(IndexConfiguration config)
Deprecated.
|
protected String |
DefaultIndexedDataFactory.getActivationClause(IndexConfiguration config,
Map searchValues)
Subclasses may overwrite this method to restrict which items are included in the index.
|
protected List<de.hybris.platform.lucenesearch.jalo.DefaultIndexedDataFactory.LangIndexSearchBunch> |
DefaultIndexedDataFactory.getDataSearchFields(IndexConfiguration config)
Gets the list of the
LangIndexSearchBunches |
Collection |
DefaultIndexedDataFactory.getGroupingAttributes(IndexConfiguration config)
Deprecated.
|
Collection<AttributeDescriptor> |
IndexedDataFactory.getGroupingAttributes(IndexConfiguration config)
Deprecated.
|
Collection |
DefaultIndexedDataFactory.getIndexableAttributes(IndexConfiguration config) |
Collection<AttributeDescriptor> |
IndexedDataFactory.getIndexableAttributes(IndexConfiguration config)
Provides all attributes of the composed type of the specified
IndexConfiguration which this factory is
able to translate into index data. |
List<PK> |
DefaultIndexedDataFactory.getIndexableItems(IndexConfiguration config)
Provides all indexable items for the specified configuration.
|
List<PK> |
IndexedDataFactory.getIndexableItems(IndexConfiguration config)
Provides all indexable items for a given index configuration object as one huge list of PK objects.
|
Collection<IndexedData> |
DefaultIndexedDataFactory.getIndexedData(IndexConfiguration config,
Collection<Item> items)
Calls
DefaultIndexedDataFactory.searchIndexedData(de.hybris.platform.lucenesearch.jalo.IndexConfiguration, java.lang.String, java.util.Map)with an additional condition restricting the query to the given item, and passes
the result to DefaultIndexedDataFactory.buildIndexedDataList(de.hybris.platform.lucenesearch.jalo.IndexConfiguration, java.util.List). |
Collection<IndexedData> |
IndexedDataFactory.getIndexedData(IndexConfiguration config,
Collection<Item> item)
Called upon index update process.
|
boolean |
DefaultIndexedDataFactory.needUpdate(IndexConfiguration config,
Date lastRebuildTimestamp)
Determines update status by counting all indexable items which
Item.MODIFIED_TIME
is empty or newer than the given rebuild timestamp. |
boolean |
IndexedDataFactory.needUpdate(IndexConfiguration config,
Date lastRebuildTimestamp)
Tells whether or not the indexed data of a
IndexConfiguration is up to date given the last build or update
time stamp. |
protected List<PK> |
DefaultIndexedDataFactory.searchIndexableItens(IndexConfiguration config,
String additionalConditionQuery,
Map additionalConditionValues) |
protected List |
DefaultIndexedDataFactory.searchIndexedData(IndexConfiguration config,
String additionalConditionQuery,
Map additionalConditionValues)
Build and execute a FlexibleSearch query, using the methods
addGroupingSearchFields,
getActivationClause.
|
protected void |
GeneratedAttributeConfiguration.setIndexConfiguration(IndexConfiguration value)
Generated method - Setter of the
AttributeConfiguration.indexConfiguration attribute. |
protected void |
GeneratedIndexUpdate.setIndexConfiguration(IndexConfiguration value)
Generated method - Setter of the
IndexUpdate.indexConfiguration attribute. |
protected void |
GeneratedAttributeConfiguration.setIndexConfiguration(SessionContext ctx,
IndexConfiguration value)
Generated method - Setter of the
AttributeConfiguration.indexConfiguration attribute. |
protected void |
GeneratedIndexUpdate.setIndexConfiguration(SessionContext ctx,
IndexConfiguration value)
Generated method - Setter of the
IndexUpdate.indexConfiguration attribute. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<IndexConfiguration,BitSet> |
DefaultPostQueryFilter.groupItemsByIndexedType(SessionContext ctx,
Collection<IndexConfiguration> indexedTypes,
Item[] items)
Groups all given items by their types resp.
|
void |
GeneratedLuceneIndex.setIndexConfigurations(Collection<IndexConfiguration> value)
Generated method - Setter of the
LuceneIndex.indexConfigurations attribute. |
abstract void |
GeneratedLuceneIndex.setIndexConfigurations(SessionContext ctx,
Collection<IndexConfiguration> value)
Generated method - Setter of the
LuceneIndex.indexConfigurations attribute. |
void |
LuceneIndex.setIndexConfigurations(SessionContext ctx,
Collection<IndexConfiguration> indexConfigurations)
Set the IndexConfigurations of this index.
|
void |
LuceneIndex.updateIndexForItem(Map<IndexConfiguration,Set<Item>> cfg2ItemsMap) |
Copyright © 2017 SAP SE. All Rights Reserved.