Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

80 lines (62 sloc) 3.354 kb
# sensei node parameters
sensei.node.id=2
sensei.node.partitions=1,2
# sensei network server parameters
sensei.server.port=1222
sensei.server.requestThreadCorePoolSize=20
sensei.server.requestThreadMaxPoolSize=70
sensei.server.requestThreadKeepAliveTimeSecs=300
# sensei cluster parameters
sensei.cluster.name=testCluster
sensei.cluster.client-name=server2
sensei.cluster.url=localhost:2181
sensei.cluster.timeout=30000
# sensei indexing parameters
sensei.index.directory = /tmp/sensei-index/test
sensei.index.batchSize = 100000
sensei.index.batchDelay = 30000
sensei.index.maxBatchSize = 100000
sensei.index.realtime = true
sensei.index.freshness = 0
# index manager parameters
sensei.index.manager.default.maxpartition.id = 2
sensei.gateway.class=com.senseidb.gateway.file.LinedFileDataProviderBuilder
sensei.gateway.file.path = src/test/resources/data/test_data.json
# analyzer, default: StandardAnalyzer
# sensei.index.analyzer = myanalyzer
# similarity, default: DefaultSimilarity
# sensei.index.similarity = mysimilarity
# broker properties
sensei.broker.port = 8078
sensei.broker.minThread = 50
sensei.broker.maxThread = 100
sensei.broker.maxWaittime = 2000
sensei.broker.webapp.path=src/main/webapp
sensei.search.cluster.name = testCluster
sensei.search.cluster.client-name = server2
sensei.search.cluster.zookeeper.url = localhost:2181
sensei.search.cluster.zookeeper.conn.timeout = 30000
custom.plugins.spring.class=com.senseidb.conf.SpringSenseiPluginFactory
custom.plugins.spring.returnedClass=com.senseidb.svc.impl.AbstractSenseiCoreService
custom.plugins.spring.springFile=plugins.xml
sensei.plugin.services.list=custom.plugins.spring
# We create the term int list factory differently in the two nodes to have more coverage.
my.custom.term_int_list_factory.class = com.senseidb.plugin.TermListFactorySenseiPluginFactory
my.custom.term_int_list_factory.type = int
my.custom.group_id_fetcher_factory.class = com.senseidb.test.plugin.VirtualGroupIdFactory$GroupIdFetcherFactory
my.custom.facets.virtual_groupid.class = com.senseidb.plugin.VirtualSimpleFacetHandlerSenseiPluginFactory
my.custom.facets.virtual_groupid.termListFactory = term_int_list_factory
my.custom.facets.virtual_groupid.facetDataFetcher = group_id_fetcher_factory
my.custom.facets.virtual_groupid.depends = groupid
my.custom.facets.virtual_groupid_fixedlengthlongarray.class=com.senseidb.test.plugin.VirtualGroupIdFactory
my.custom.facets.virtual_groupid_fixedlengthlongarray.typeProp=fixedlengthlongarray
#Sensei plugin factory returns the list of custom facets
my.custom.facets.other_custom_facets.class=com.senseidb.test.plugin.OtherCustomFacetsFactory
# the list of beans might be referenced both by simple name and the full prefix
#Sensei plugin factory returns the list of custom facets
custom.facets.spring.class=com.senseidb.conf.SpringSenseiPluginFactory
custom.facets.spring.returnedClass=com.browseengine.bobo.facets.FacetHandler, com.browseengine.bobo.facets.RuntimeFacetHandlerFactory
custom.facets.spring.springFile=custom-facets.xml
# the list of beans might be referenced both by simple name and the full prefix
sensei.custom.facets.list= custom.facets.spring, my.custom.facets.other_custom_facets, my.custom.facets.virtual_groupid_fixedlengthlongarray, my.custom.facets.virtual_groupid
sensei.index.manager.default.eventsPerMin = 600000
Jump to Line
Something went wrong with that request. Please try again.