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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:31:37+00:00 2026-06-10T17:31:37+00:00

I have Solr configured and indexing / running smoothly. The only problem is it

  • 0

I have Solr configured and indexing / running smoothly. The only problem is it cannot do delta-imports. It only dumps messages like:

INFO: id is a required field in SolrSchema . But not found in DataConfig

but I have the id in schema defined as:

<field column="id" name="id_l"/>

Another message shows the delta import was not completed:

INFO: Completed ModifiedRowKey for Entity: description rows obtained : 0

My schema has:

<entity name="user"  pk="id" query="SELECT * FROM users"
   deltaImportQuery="SELECT * FROM users WHERE id = '${dataimporter.delta.id}'"
   deltaQuery="SELECT id FROM users WHERE updated_at > '${dataimporter.last_index_time}'"
 >
 ..

EDIT:
The above was set according to the Wiki. But after looking into example-DIH’s DataConfig, I changed the above to:

<entity name="user"  pk="id" query="SELECT * FROM users"
  deltaQuery="SELECT id FROM users WHERE updated_at > '${dataimporter.last_index_time}'"  
>

but it still doesn’t work.

My question is – how can I change the schema in order to be able to delta-import the data?

  • 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-10T17:31:39+00:00Added an answer on June 10, 2026 at 5:31 pm

    I debugged the app, and the problem was that the app or MySQL stored the times incorrectly, that is, earlier than the actual time. So when Delta index was run, Solr threw the correct time to the query, but since it was LATER than the ‘mysql’ time, it just didn’t do anything. This link helped me to debug.

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

Sidebar

Related Questions

I want to use solr indexing and want to have Delta Imports configured, for
I have solr up and running but I cannot get the results when I
ok, I'm totally new to SOLR and Lucene, but have got Solr running out-of-the-box
I have followed this guide to install Solr in TomCat running on Windows Server
I have SOLR configured to return fragments with a fragsize of 500. Sometimes, the
I have a Solr index with document fields something like: id, body_text, date, num_upvotes,
I have successfully configured the Solr SpellCheck component, and am getting the expected suggestions.
i have running Lucene/Solr 4 for testing different features, also clustering. Currently, 1 million
I have configured my solr data import handler, and now want do to full
I have configured the QueryElevation component as here: http://wiki.apache.org/solr/QueryElevationComponent And I can see that

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.