开发者

Is there any open source system for keyword search on XML documents? [closed]

开发者 https://www.devze.com 2023-01-01 10:20 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_如何学编程

Closed 7 years ago.

Improve this question

I found lot of open source XML databases (TPOX, Timber , DBXML), but they are working on XPath and XQuery, I need a system which is developed for the purpose of "Keyword search on XML documents".


Many of the XML databases provide keyword indexing on the XML documents in them. You are not just limited to XPath expressions. You can do a keyword search across all the documents in the database.

Often times, you can express your keyword queries (and process the results of the query) in XQuery. See exist-db for an example: http://exist.sourceforge.net/kwic.html

There is support for keyword limited to particular elements or you could just do keyword across the document as a whole. See the XQuery Full-text spec for all the options: http://www.w3.org/TR/xpath-full-text-10/

BaseX is another open source XML database that supports the full-text (ie keyword searching) spec: http://www.inf.uni-konstanz.de/dbis/basex/

If you want open source fulltext search without the database though you might want to look at the older XQengine - http://xqengine.sourceforge.net/ - or, like someone else said, just use Lucene and index all the text in a document that way.


I'm not sure what a "Keyword search" is, but you can set up a search engine, such as lucene/solr to index your data and then search through that.

0

精彩评论

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