RE: Solr DIH sub entity

2015-09-04 Thread Davis, Daniel (NIH/NLM) [C]
vatu...@yandex.ru wrote: > Hello. I work with Solr 4.10. > I use DIH and some custom java Transformers to synchronize my Solr index with > the database (MySQL is used) > Is there any way to change the fields in root entity from the sub entity? I don't think that works, but if you are writing

Re: Solr DIH sub entity

2015-09-04 Thread Mikhail Khludnev
Hello Irina, I looked through DIH sources, it seems like you exceed its' design. Such leakages are not possible in it. I can only suggest to call private method through reflection. org.apache.solr.handler.dataimport.ContextImpl.getDocument(). Perhaps, you can pass some state for Transformers via

RE: SOLR DIH - Sub Entity with different datasource not working

2013-12-16 Thread Lokn
Thanks for the reply. The error shows it is not able to execute the query. In my case, if you see my config file I am joining the entities between two different datasources.. i.e., Entity1 - Datasource1 --Subentity - DataSource2 My doubt is, can we join the entities in two different

Re: SOLR DIH - Sub Entity with different datasource not working

2013-12-16 Thread Karan Ahuja
hi i dont know if this can be done but to avoid this you can create a new table with the results and index that new table :) you can then delete the table as well after indexing ... :) tc cheers karan On Mon, Dec 16, 2013 at 5:42 PM, Lokn nlokesh...@gmail.com wrote: Thanks for the reply.

RE: SOLR DIH - Sub Entity with different datasource not working

2013-12-13 Thread Dyer, James
Without more of the stacktrace I don't think you'll get much help. However, its my experience that exceptions that begin with Unable to execute query mean the db didn't like something about one or both queries. I think it would have listed in there somewhere the actual query it didn't like,