Questions tagged [dih]

The DataImportHandler is a Solr contrib that provides a configuration driven way to import this data into Solr in both "full builds" and using incremental delta imports.

The Data Import Handler is a Solr contrib that provides a configuration driven way to import data into solr both via "full builds" and using incremental delta imports.

More information about the data import handler: http://wiki.apache.org/solr/DataImportHandler

Simple data import handler usecases: http://wiki.apache.org/solr/DIHQuickStart

More information about Solr: http://lucene.apache.org/solr/

174 questions
9
votes
3 answers

Steps to connect MongoDB and Solr using DataImportHandler

I am new to SOLR and MONGODB. I am trying to index data from mongodb into SOLR using DataImportHandler but I could not find the exact steps that I need to follow. Could you please help me in getting the exact steps to index MongoDB into Solr using…
chetna agarwal
  • 131
  • 1
  • 2
  • 5
8
votes
1 answer

Can Solr DIH do atomic updates?`

With Solr 4 came the ability to do atomic (partial) updates on existing documents within the index. I.e. one can match on the document ID and replace the contents of just one field, or add further entries to multivalued fields:…
Peaeater
  • 626
  • 5
  • 19
6
votes
4 answers

In solr dih import two double in one location

What I have now is the two double filds: and what I want: the 2…
vuky
  • 583
  • 6
  • 19
6
votes
0 answers

Dynamic Field with SplitBy in db-config.xml not working Properly in Solr

I'm Working with Solr 7.4.0 and using DIH Method For Indexing the Data. Query in data-config.xml.
rakesh girase
  • 140
  • 1
  • 8
6
votes
3 answers

Solr DIH delta-import with compound primary keys?

My Solr data source is a SQL database where the primary key is compound (i.e. it's two fields). This is fine for my main DIH query, I just concatenate the fields and that becomes my Solr primary key. However it's unclear from the documentation how…
Alnitak
  • 334,560
  • 70
  • 407
  • 495
6
votes
1 answer

Solr 4 - missing required field: uuid

I'm having issues generating a UUID using the dataImportHandler in Solr4. Im trying to import from an existing MySQL database. My schema.xml contains:
Kikimac
  • 179
  • 1
  • 3
  • 10
4
votes
3 answers

Why can't I instantiate DataImportHandler in Solr on JBoss?

I'm trying to set up Solr 3.5.0 on JBoss 5.1. Everything works quite fine. I copied war into deploy dir, all the dependencies from dist and contrib directories into the lib (or earlier deploy) directory. I can start a server, everything works fine,…
r3mbol
  • 261
  • 6
  • 15
4
votes
2 answers

delta import handler not working properly

I followed the steps mentioned @: http://wiki.apache.org/solr/DataImportHandler I also tried other solution from stackoverflow however still it is not working. Problem is: I have configured Delta-import handler still every time I run it; it indexes…
Jayesh Bhoyar
  • 727
  • 5
  • 16
3
votes
0 answers

SOLR: Indexing deeper nested index with SOLR Data Import Handler

Is it possible to create deeper nested indexes via DIH? If yes, how it is working? parent -> child -> child's child -> ... I found examples to parse deeper nested indexes via Block Join, but no examples to create this via…
David
  • 51
  • 4
3
votes
1 answer

How to implement custom sort order with some items at fixed places in solr?

I have a list of drawers in a mysql table named Drawers like | BOX | RANK | |----------------|--------| | Box1 | 1 | | Box2 | 2 | | Box3 | 3 | | Box4 | 4 | | Box5 | …
diwakarb
  • 543
  • 2
  • 9
  • 23
3
votes
1 answer

Solr: Using DataImportHandler for XML import with XSLT processing

I am having serious problems to configure the Solr 4.10.3 DIH to import XML files. Been trying for hours, but no luck. Here is my configuration:
martin_wun
  • 1,599
  • 1
  • 15
  • 33
3
votes
1 answer

Speed up solr indexing

Solr indexing takes too long. I am using mysql with more than 30 million records. I am using two level sub queries. Please suggest me best practices for indexing data, so that i can speed up the process.
Nisar Ahmad
  • 29
  • 1
  • 4
3
votes
1 answer

How to generate an Id using DataImportHandler?

I'm new in Solr and I'm struggling to import some XML Data which does not contain a ID field, although It's required as it says my schema.xml: An XML example:
larrytron
  • 689
  • 4
  • 11
  • 26
2
votes
1 answer

Solr: change managed schema to schema and add new field in WINDOWS when using DIH

I am trying to learn and create SOLR search engine for text search. My initial step is to load a table of content from SQL to Solr. I have imported data using data import handler but Solr loaded only id field. Later I realised that the managed…
Pal
  • 173
  • 2
  • 16
2
votes
0 answers

Solr DIH fetches rows but no documents processed

Using Solr 6.2.1 I have a local MySQL database from which I want Solr to index for querying. I created a core called create-test, and after I run ...dataimport?command=full-import, I get the following status:
David Kaczynski
  • 1,246
  • 2
  • 20
  • 36
1
2 3
11 12