CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Rushikesh Garadade
Hello All, I am using CloudSolrClient with Spring boot Solr 1.5.18.RELEASE and Solr Version is Solr 4.10.3. new CloudSolrClient.Builder().withZkHost(zkHosts).withZkChroot(solrProperties.getSolrZookeeperLocation()).build(); When I use Solr which comes wth CDH 5.16.1 default when I save a

Connect to multiple Solr Servers via Spring boot

2019-03-19 Thread Rushikesh Garadade
emplate named '*mappingContext*', somehow it sets to *null *and we get above error. Question: 1) Is there any issue with our code and approach 2) Is there any other alternative approach to achieve out purpose. Thanks and Regards, Rushikesh Garadade

Re: Spring Boot Solr+ Kerberos+ Ambari

2019-02-26 Thread Rushikesh Garadade
umentation: > > https://lucene.apache.org/solr/guide/6_6/kerberos-authentication-plugin.html > For > any Ambari specific questions, you can ask them at this forum: > https://community.hortonworks.com/topics/forum.html > > Kind Regards, > Furkan KAMACI > > On Thu, Feb 21, 20

Re: Spring Boot Solr+ Kerberos+ Ambari

2019-02-21 Thread Rushikesh Garadade
Hi Furkan, I think the link you provided is for ranger audit setting, please correct me if wrong? I use HDP 2.6.5. which has Solr 5.6 Thank you, Rushikesh Garadade On Thu, Feb 21, 2019, 2:57 PM Furkan KAMACI wrote: > Hi Rushikesh, > > Did you check here: > > https://docs.

Spring Boot Solr+ Kerberos+ Ambari

2019-02-21 Thread Rushikesh Garadade
success. If is there any good document for the same, please let me know. Thanks, Rushikesh Garadade.

Re: Explode kind of function in Solr

2018-09-17 Thread Rushikesh Garadade
hanks, Rushikesh Garadade On Thu, Sep 13, 2018 at 6:48 PM Joel Bernstein wrote: > Solr Streaming Expressions allow you to do this with the cartesianProduct > function: > > > http://lucene.apache.org/solr/guide/7_4/stream-decorator-reference.html#cartesianproduct > > The s

Explode kind of function in Solr

2018-09-13 Thread Rushikesh Garadade
:1, phone:33 }] Please let me know if this is possible in Solr , if Yes how? Thanks, Rushikesh Garadade

getParent() when searched in child Docuement

2018-08-20 Thread Rushikesh Garadade
data in it.) 2) If we Search for any specific field in attahcment its parent should return . For example "get mail document whose attachmentName:"abc.txt"". I want to know how to implement this in Spring Data. (there is some method called getParent() however I am not sure how to use it). Thanks , Rushikesh Garadade

Fwd: exact Match and Contains

2018-07-05 Thread Rushikesh Garadade
Small Correction in the mail above: attachmentType is managed-schema is: -- Forwarded message - From: Rushikesh Garadade Date: Thu, Jul 5, 2018 at 7:43 PM Subject: exact Match and Contains To: Hi, I have field attachmentType in my collection whose schema is as follows

exact Match and Contains

2018-07-05 Thread Rushikesh Garadade
:*application/pdf** I get 0 results [image: image.png] I am not getting what I am missing. What I think is result of *query* is subset of result of **query** Please let me know what I am missing, Do let me know if you need any other details Thanks, Rushikesh Garadade

Re: Retrieving Results from both child and parent

2018-06-19 Thread Rushikesh Garadade
esults or *Is there any better/optimized approach* Thanks, Rushikesh Garadade On Tue, Jun 19, 2018 at 6:33 PM Rushikesh Garadade < rushikeshgarad...@gmail.com> wrote: > Hello, > I have stored emails in solr, with its attachments as child documents. > As per solr structure these a

Re: Spring Boot missing required field:

2018-06-19 Thread Rushikesh Garadade
ers to look see what may be the reason. Thanks, Rushikesh Garadade On Sat, Jun 9, 2018 at 2:56 PM Andrea Gazzarini wrote: > Hi Rushikesh, > I bet your client is not doing what you think. The error is clear, the > incoming document doesn't have that field. > > I would investiga

Retrieving Results from both child and parent

2018-06-19 Thread Rushikesh Garadade
ctive "internetMessageId". i.e. #1 if word found in mail document -- return internetMessageId #2 if word found in attachment document document -- return internetMessageId (By fq==>{!parent which=internetMessageId:* v=attachmentName:*}) For achieving both i have store every fields content in "_text_" field (using copy field) . I can achieve both #1 & #2 individually. I want to do both in single result i.e give me internetMessageId of all mails as well as the mails whose attachment contains the the queried word. How can I achieve this?? Thanks, Rushikesh Garadade

Spring Boot missing required field:

2018-06-09 Thread Rushikesh Garadade
mon frames omitted Please let me know what can be the issue? Thanks, Rushikesh Garadade

Update Solr Document

2018-05-31 Thread Rushikesh Garadade
not how re-indexing works on Document update? Thanks, Rushikesh Garadade