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 7517541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:29:08+00:00 2026-05-30T01:29:08+00:00

Problem: A Table in MySQL that has a few normal fields and one text

  • 0

Problem:

A Table in MySQL
that has a few normal fields and
one text field that holds XML

I need to use Solr Data Import Handler to process this table into a Solr Index.
However, the XML field needs to be parsed into several other solr fields each

Question:

  1. Is it possible to do this without having to write a custom Transformer? If yes how. Can I use XPathEntityProcessor with a my SQL DB as datasource?

  2. If I write a custom transformer, how exactly do I configure it in dataConfig?

  3. I am using older version of solr (1.4.1), so can I just drop a new jar with new class into my solr web-app?

The thing I am quite unsure about is how I need to configure the data-config.xml to do this. If anyone has any examples, please share! Thanks.

  • 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-05-30T01:29:11+00:00Added an answer on May 30, 2026 at 1:29 am

    My suggestion is to write a program which selects the data from the database, parses the XML data field and then inserts the entire document into the SOLR index.

    The solrj Java apis are really easy to use. The hardest part of this is parsing the XML, but it’s a far easier challenge and easier to test.

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

Sidebar

Related Questions

My SQL table has 2 fields that impact my problem: Priority as real, and
I have an interesting problem here. I have a MySql database table that has
I am working with a MySQL database that has capitalized table/field names like Users,
I have a MySQL table with a primary key field that has AUTO_INCREMENT on.
I have few thousands of records with few 100 fields in a MySQL Table.
I am writing a php/mysql app that uses a few different tables. Table 1
I have an PHP/MySQL eCommerce application that has a few innoDB tables (for the
I have a MySQL table that has 165,716 records (and counting). The table is
My problem involves searching a MySQL table for a list of matching city names
I have to migrate a table from MSSQL Server to MySql. The problem is

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.