MCPcopy Index your code
hub / github.com/CommerceExperts/open-commerce-search

github.com/CommerceExperts/open-commerce-search @0.71.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.71.1 ↗ · + Follow
2,724 symbols 11,152 edges 530 files 408 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Open Commerce Search Stack

The Open Commerce Search Stack (OCSS) is a small abstraction layer on top of existing open source search solutions (Elasticsearch, Lucene and Querqy) that removes the hastle of dealing with the details of information retrieval. It was designed to handle most problems of search in e-commerce using known best practices. The API first approach aims for simplicity and broad adaption. More information about the motivation and background of OCSS can be found in our blog.

Read full Documentation

Extension points exported contracts — how you extend this code

UserQueryPreprocessor (Interface)
Can be used to modify the user query prior it is processed by the UserQueryAnalyzer, for example to normalize the query. [7 …
ocs-plugin-spi/src/main/java/de/cxp/ocs/spi/search/UserQueryPreprocessor.java
SuggestDataProvider (Interface)
Implementations of this SPI are capable of providing source data for the suggest index. [7 implementers]
suggest-service-parent/smartsuggest-lib/src/main/java/de/cxp/ocs/smartsuggest/spi/SuggestDataProvider.java
FullIndexationService (Interface)
Run a full import into a new index. If product and content data should be indexed, consider using different indexes. Ot [5 …
open-commerce-search-api/src/main/java/de/cxp/ocs/api/indexer/FullIndexationService.java
FacetFilter (Interface)
(no doc) [7 implementers]
search-service/src/main/java/de/cxp/ocs/elasticsearch/facets/FacetFilter.java
ConfigureableField (Interface)
ConfigureableDataprocessor implementations manipulate, extract, enrich, ... fields. As the configuration of that impleme [2 …
indexer-service/src/main/java/de/cxp/ocs/conf/converter/ConfigureableField.java
paths (Interface)
(no doc)
ocss-frontend/types/productsetservice.ts
SidebarNavProps (Interface)
(no doc)
ocss-frontend/components/configuration/sidebar-nav.tsx
ESQueryFactory (Interface)
A reusable query factory that receives the analyzed user query to build Elasticsearch queries (one for Master level [9 …
ocs-plugin-spi/src/main/java/de/cxp/ocs/spi/search/ESQueryFactory.java

Core symbols most depended-on inside this repo

get
called by 1034
ocs-plugin-spi/src/main/java/de/cxp/ocs/spi/search/RescorerProvider.java
size
called by 413
ocs-commons/src/main/java/de/cxp/ocs/util/MinMaxSet.java
add
called by 281
ocs-java-client/src/main/java/de/cxp/ocs/client/ImportApi.java
isEmpty
called by 226
ocs-commons/src/main/java/de/cxp/ocs/util/Util.java
test
called by 189
search-service/src/main/java/de/cxp/ocs/elasticsearch/query/builder/ConditionalQueries.java
set
called by 175
open-commerce-search-api/src/main/java/de/cxp/ocs/model/index/Document.java
getLabel
called by 162
search-service/src/main/java/de/cxp/ocs/elasticsearch/facets/FacetFactory.java
cn
called by 145
ocss-frontend/lib/utils.ts

Shape

Method 1,839
Function 420
Class 350
Interface 90
Enum 25

Languages

Java83%
TypeScript17%
Python1%

Modules by API surface

docs/apidocs/jquery/jquery-3.5.1.js112 symbols
docs/apidocs/jquery/external/jquery/jquery.js112 symbols
search-service/src/test/java/de/cxp/ocs/elasticsearch/query/analyzer/QuerqyQueryExpanderTest.java41 symbols
suggest-service-parent/smartsuggest-lib/src/main/java/de/cxp/ocs/smartsuggest/QuerySuggestManager.java31 symbols
search-service/src/test/java/de/cxp/ocs/elasticsearch/facets/helper/NumericFacetEntryBuilderTest.java30 symbols
suggest-service-parent/smartsuggest-lib/src/main/java/de/cxp/ocs/smartsuggest/querysuggester/lucene/LuceneQuerySuggester.java29 symbols
search-service/src/main/java/de/cxp/ocs/elasticsearch/query/analyzer/QuerqyQueryExpander.java29 symbols
ocss-frontend/types/api.ts27 symbols
ocs-plugin-spi/src/main/java/de/cxp/ocs/config/FacetConfiguration.java27 symbols
suggest-service-parent/smartsuggest-lib/src/test/java/de/cxp/ocs/smartsuggest/querysuggester/lucene/LuceneQuerySuggesterTest.java26 symbols
search-service/src/main/java/de/cxp/ocs/elasticsearch/facets/CategoryFacetCreator.java25 symbols
indexer-service/src/main/java/de/cxp/ocs/elasticsearch/ElasticsearchIndexer.java23 symbols

For agents

$ claude mcp add open-commerce-search \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact