I have a database of information that is tagged using XML. The XML represents a hierarchy that I would like to account for in search and query. For example, if the data is book metadata:
<book>
<author id="jd112">John Doe</author>
<title>John's First Publication</title>
<summary>This is a mundane memoir of John's life that no one else would care to read </summary>
</book>
I'll have tons of such XML documents. I would like searchers to restrict queries to specific fields. I would like to also allow searchers to do logical combinations of those.
Does Lucene/Solr provide such an ability, or should I be looking at some other technology? If Lucene it is, a pointer to how I might go about this would be helpful.
Thanks for your insights.
-Raj