开发者

Where do I submit XML to SOLR

开发者 https://www.devze.com 2023-04-06 09:45 出处:网络
Been through the tutorials, it used a po开发者_运维百科st.jar to submit the XMLs to SOLR. Is it enough to POST the XML as string to [solr-home]/update ? For indexing normal data, its enough to have da

Been through the tutorials, it used a po开发者_运维百科st.jar to submit the XMLs to SOLR.

Is it enough to POST the XML as string to [solr-home]/update ?


For indexing normal data, its enough to have data as xml documents posted to Solr. Solr would index each record as a document.

Solr also provides various indexing data options as indexing database using dataimport handlers, rich documents using extract handler, mail db files, rss feeds etc.

The process for indexing would vary depending upon the data you are indexing.

More info @
http://lucene.apache.org/solr/tutorial.html#Indexing+Data
http://wiki.apache.org/solr/DataImportHandler
http://wiki.apache.org/solr/ExtractingRequestHandler

0

精彩评论

暂无评论...
验证码 换一张
取 消