i can never understand how solr works.
it just talks about schema files all the way but how do i import content from the database to it with a painless method?
i have tried to figure it out by reading their tutorials but it just mess up my head.
its written for the Einsteins out there cause apparently there are a lot of people who also have difficulty of understanding it.
and they keep talking about the example folder. "just type java -jar ./start.jar". i mean..is this an example or can you use it as final for your website? where is data-config.xml located??? there are just no good tutorials out there explaining to that first time beginners can understand.
In other words, a full-import will execute exactly 1 query for each defined entity + N queries for each sub-entity, while a delta-import will execute 1 query to get given entity's changed elements list + N queries for each changed element + another N queries for each defined sub-entity.
Solr, however, is more than a search engine — it's also often used as a document-based NoSQL database with transactional support that can be used for storage purposes and even a key-value store.
delta-import. For incremental imports and change detection. Only the SqlEntityProcessor supports delta imports. For example: http://localhost:8983/solr/dih/dataimport?command=delta-import . This command supports the same clean , commit , optimize and debug parameters as full-import command described below.
The easiest way to import data from a RDBMS is the DataImportHandler. Check out this step-by-step quick start.
Also, here's a pretty thorough walk-through of its usage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With