FAQ Database Discussion Community


Subentity SolrEntityProcessor stops working since SolR 5.x

solr,dataimporthandler,solr5
I use a data import like this <dataConfig> <document name="products"> <entity name="outer" dataSource="my_datasource" pk="id" query="..." deltaQuery="..." deltaImportQuery="..." > <entity name="solr" processor="SolrEntityProcessor" url="http://127.0.0.1:8983/solr/${solr.core.name}" query="Xid:${outer.Xid}" rows="1" fl="Id,FieldA,FieldB" wt="javabin" /> </entity> </document> </dataConfig> The interesting part is the sub entity, which uses SolrEntityProcessor. Until (including) SoLR 4.10 everything...

SOLR RSS dataimport handler is not working

solr,dataimporthandler
I am trying to run RSS example of SOLR 5 which is in side of example-DIH folder. using command sole -e dih when I run import command ( click on execute button ) solr is just showing mw importing ... nothing else. and result is zero documents.

DataImportHandler DIH for FileSystem DataSource

solr,datasource,dataimporthandler,dih,lucidworks
I have a fileSystem datasource, and i have created a dataconfig for it to run DIH the dataconfig is <?xml version="1.0" encoding="UTF-8"?> <dataConfig> <dataSource type="FileDataSource" /> <document> <entity name="pdf" processor="FileListEntityProcessor" baseDir="/path/to/my/pdf" fileName=".*pdf" newerThan="'NOW-3DAYS'" recursive="true" rootEntity="false" dataSource="pdf"> </entity> </document> </dataConfig> and when i run the DIH, it gives Indexing completed. Added/Updated:...

Spring data solr - Full Data import via DIH

solr,dataimporthandler,spring-data-solr
I am using solr 4.10.2 and Spring data solr for integration. In order to protect solr, I added an security entry in web.xml. So, did the following changes in the Solrcontext. Note:- We have only one core in our Application. @Configuration @EnableSolrRepositories(basePackages = { "com.wellmanage.mnpi.repository.solr" }, multicoreSupport = true) public...

Data import in solr from multiple entities

solr,dataimporthandler,data-import
Currently i have a Solr core, which is importing data from multiple entities, i.e 2 different MySQL tables. I have to import data in the same core through 3rd entity which is another core in the same Solr Database. I found a documentation on many different sites which were guiding...

Solr date variable resolver is not working with MySql

mysql,oracle,solr,dataimporthandler
I have used Solr 3.3 version as Data Import Handler(DIH) with Oracle. Its working fine for me. Now I am trying the same with Mysql. With the change in database, I have changed the query used in data-config.xml for MySql. The query has variables which are passed url in http....