Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8248621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:14:58+00:00 2026-06-07T23:14:58+00:00

I have a database of information that is tagged using XML. The XML represents

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:15:00+00:00Added an answer on June 7, 2026 at 11:15 pm

    Yes, and it is the best way to use it, but documents should be reformatted possibly

    http://www.xml.com/pub/a/2006/08/09/solr-indexing-xml-with-lucene-andrest.html

    and google about configuring schema.xml

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some information in my database like 'author', 'book' etc., that are all
I have a database that have quite a bit relational user information that would
Suppose that I have a database with student information: {'student_name' : 'Alen', 'subjects' :
I have a class that inserts information into a MySQL database. I have the
I have a form with a list that shows information from a database. I
Our scenario: We have a main database that stores company-wide information. We have several
I have information stored in a database that I want to use to create
i have taken over a database that stores fitness information and we were having
I have a class that saves logging information to the database (in an NServiceBus
I have been working on a database that holds order numbers and order information.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.