Re: Shard Lock

2020-11-30 Thread sambasivarao giddaluri
when checked in to *opt/solr/volumes/data/cores/ both **k04o95kz_shard2_replica_n10 and **k04o95kz_shard3_replica_n16 replicate are not present no idea how they got deleted.* On Mon, Nov 30, 2020 at 4:13 PM sambasivarao giddaluri < sambasiva.giddal...@gmail.com> wrote: > Hi All, > We

Shard Lock

2020-11-30 Thread sambasivarao giddaluri
Hi All, We are getting below exception from Solr where 3 zk with 3 solr nodes and 3 replicas. It was working fine and we got this exception unexpectedly. - - *k04o95kz_shard2_replica_n10:* org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir

Re: Java Streaming API - nested Hashjoins with zk and accesstoken

2020-11-02 Thread sambasivarao giddaluri
Hi All, Any advice on this. Thanks sam On Sun, Nov 1, 2020 at 11:05 PM Anamika Solr wrote: > Hi All, > > I need to combine 3 different documents using hashjoin. I am using below > query(ignore placeholder queries): > > >

Authentication for each collection

2020-10-01 Thread sambasivarao giddaluri
Hi All, We have 2 collections and we are using basic authentication against solr , configured in security.json . Is it possible to configure in such a way that we have different credentials for each collection . Please advise if there is any other approach i can look into. Example ;

Re: Insert documents to a particular shard

2020-06-03 Thread sambasivarao giddaluri
ons for graph traversal? > > > > https://lucene.apache.org/solr/guide/8_5/graph-traversal.html > > > > > >>> Am 03.06.2020 um 00:37 schrieb sambasivarao giddaluri < > sambasiva.giddal...@gmail.com>: > >>> > >> Hi All, > >> I am runnin

Insert documents to a particular shard

2020-06-02 Thread sambasivarao giddaluri
Hi All, I am running solr in cloud mode in local with 2 shards and 2 replica on port 8983 and 7574 and figuring out how to insert document in to a particular shard , I read about implicit and composite route but i don't think it will work for my usecase. shard1 :

Support for Graph parser with multiple shards

2020-05-28 Thread sambasivarao giddaluri
Hi all , We have documents to type which parent , child, grandchild and each child document has a reference field to parent doc and grandchild document has reference fields to child doc and parent doc . and each document has multiple fields ex: few fields on parent doc are age , gender , name

Re: Solr fields mapping

2020-04-30 Thread sambasivarao giddaluri
- audrey.lorberf...@ibm.com wrote: > Hi, Sam! > > Have you tried creating a copyField? > https://builds.apache.org/view/L/view/Lucene/job/Solr-reference-guide-8.x/javadoc/copying-fields.html > > Best, > Audrey > > On 4/28/20, 1:07 PM, "sambasivarao giddaluri&qu

Solr fields mapping

2020-04-28 Thread sambasivarao giddaluri
Hi All, Is there a way we can map fields in a single field? Ex: scheme has below fields createdBy.userName createdBy.name createdBy.email If have to retrieve these fields need to pass all the three fields in *fl* parameter instead is there a way i can have a map or a object of these fields in

Graph Parser Bug

2020-03-11 Thread sambasivarao giddaluri
Hi All , i think this is bug in graph query parser if we pass additional brackets it throws parser exception and this is blocking our project can anyone suggest how to handle we are using solr 8.2. ex: ({!graph from=parentId to=parentId traversalFilter='type:parent'

Re: Graph Query Parser Syntax

2020-02-27 Thread sambasivarao giddaluri
Hi All , any suggestions? On Fri, Feb 14, 2020 at 5:20 PM sambasivarao giddaluri < sambasiva.giddal...@gmail.com> wrote: > Hi All, > In our project we have to use multiple graph queries with AND and OR > conditions but graph query parser does not work for the below scenario

Re: How to use existing SolrClient with Streaming

2020-02-25 Thread sambasivarao giddaluri
during SolrStream initialization i had to pass the URL again rather would like to see if i can get it by any other way . On Tue, Feb 25, 2020 at 5:05 PM sambasivarao giddaluri < sambasiva.giddal...@gmail.com> wrote: > Hi All , > > I have created a SolrClient bean and chec

How to use existing SolrClient with Streaming

2020-02-25 Thread sambasivarao giddaluri
Hi All , I have created a SolrClient bean and checking how to use it with SolrStream. @Configuration(proxyBeanMethods = *false*) SolrConfiguration Class @Bean *public* SolrClient solrClient() { String solrBaseUrl="http://***;; *return* *new*

Graph Query Parser Syntax

2020-02-14 Thread sambasivarao giddaluri
Hi All, In our project we have to use multiple graph queries with AND and OR conditions but graph query parser does not work for the below scenario, can any one suggest how to overcome this kind of problem? this is stopping our pre prod release . we are also using traversalFilter but our usecase

Stream InnerJoin to merge hierarchal data

2020-02-07 Thread sambasivarao giddaluri
Hi All, Our dataset is of 50M records and we are using complex graph query and now trying to do innerjoin on the records and facing the below issue . This is a critical issue . Parent { parentId:"1" parent.name:"foo" type:"parent" } Child { childId:"2" parentId:"1" child.name:"bar" type:"child"

Graph Query Bug ?

2020-02-03 Thread sambasivarao giddaluri
Hi All , Solr 8.2 Database structure . Parent -> Children Each child has parent referenceId Query: Get Parent doc based on child query Method 1: {!graph from=parentId to=parentId traversalFilter='docType:parent' returnRoot=false}child.name:foo AND child.type:name Result : 1 Debug:

For Hierarchical data structure is Graph Query a good option ?

2020-01-29 Thread sambasivarao giddaluri
Hi , I have a data in hierarchical structure ex: parent --> children --> grandchildren Usecase: Get parent docs by adding filter on children and grand children or Get grand children docs by adding filters on parent and children To accommodate this use case i have flattened the docs by

Odata filter query to Solr query

2020-01-15 Thread sambasivarao giddaluri
Hi All, Do we have any library which can convert Odata filter to Solr Query EX : $filter=Address eq 'Redmond' to ?q=Address:Redmond Any suggestions will help. Thanks Sambasiva

Graph Query Parser with pagination

2019-12-11 Thread sambasivarao giddaluri
Hi All, Is it possible to search on a index using graph query parser with pagination available . ex: 1 <--2<--3 1 <--4<--5 1 <--6<--7 and so on 1 is parent of 2,4 and 2 is parent of 3 and 4 is parent of 5 1 is doc type A and 2,4 are of type doc B and 3,5 are of type C similarly if i have 200