solr4 - Custom Solr Full Import -
i have solr core core1, has couple of facet types , want implement custom import them. eg: have next facet types:
facet1 facet2 facet3when utilize info import handler, don't want "delta" business reasons, , want clean / full-import facet1 , facet2 , leave lone facet3. possible in solr?
any help / direction appreciated.
you utilize approach similar 1 mentioned @ http://wiki.apache.org/solr/dataimporthandlerdeltaqueryviafullimport.
your query in data-config.xml
<entity ... query="select ... '${dataimporter.request.clean}' = 'true' or facet in (facet1, facet2)">
so indexing documents in facet1
, facet2
utilize
dataimport?command=full-import&clean=false
for doing total import facets, use:
dataimport?command=full-import&clean=true
(i haven't tested this, create sure.)
solr solr4 solrcloud
No comments:
Post a Comment