Hi, i want to do indexing with api SolrJ. So, i believe the indexing will be multhreaded. But i have 5 root entites.
i find this link: https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/ <https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/> but i don't talk links between entities. Here one file xml: <document> <entity rootEntity="true" name="carte" dataSource="myvialtis" transformer="RegexTransformer" query="select * from bi_solr_carte inner join bi_solr_contrat on bi_solr_carte.carte_id_contrat=bi_solr_contrat.contrat_id_contrat inner join bi_solr_tiers on bi_solr_contrat.contrat_id_client=bi_solr_tiers.tiers_id_client"> <field name="ID" column="carte_id" /> <field name="DOC_TYPE" column="carte_doc_type" /> <entity name="carte_conso" dataSource="myvialtis" processor="SqlEntityProcessor" cacheImpl="SortedMapBackedCache" cacheKey="conso_id_carte" cacheLookup="carte.carte_id_carte" query="select conso_id_carte, conso_numero_carte, conso_immatriculation, conso_nom_flotte, conso_id_conso, conso_gare_entree, conso_gare_sortie, conso_autoroute_entree, conso_autoroute_sortie, conso_sca_entree, conso_sca_sortie, conso_statut from bi_solr_transaction where conso_id_carte is not null and (conso_type_transaction is null or conso_type_transaction != '1') and bi_solr_transaction.conso_date_sortie + interval '6 months' > date_trunc('day',current_date)"> </entity> <entity name="carte_invoice" dataSource="myvialtis" processor="SqlEntityProcessor" cacheImpl="SortedMapBackedCache" cacheKey="conso_id_carte" cacheLookup="carte.carte_id_carte" query="select invoice_numero_facture, invoice_id_beneficiaire, invoice_id_payeur, invoice_date_emission, invoice_date_emission_dd_mm_yyyy, invoice_date_emission_mm_yyyy, invoice_date_emission_yyyy, invoice_devise, invoice_total_ht, invoice_total_tva, invoice_total_ttc, conso_id_carte from bi_solr_invoice inner join bi_solr_transaction on invoice_numero_facture=conso_numero_facture where conso_numero_facture is not null and conso_id_carte is not null and bi_solr_transaction.conso_date_sortie + interval '6 months' > date_trunc('day',current_date)"> </entity> </entity> </document> -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Indexing-tp4265506.html Sent from the Solr - User mailing list archive at Nabble.com.