Re: solr 8.6.3 and noggit

2020-11-20 Thread Susmit Shukla
inst a newer Solr server (or > vice versa). > > Mike > > On Fri, Nov 20, 2020 at 2:25 PM Susmit Shukla > wrote: > > > Hi, > > got this error using streaming with solrj 8.6.3 . does it use noggit-0.8. > > It was not mentioned in dependencies > > htt

solr 8.6.3 and noggit

2020-11-20 Thread Susmit Shukla
Hi, got this error using streaming with solrj 8.6.3 . does it use noggit-0.8. It was not mentioned in dependencies https://github.com/apache/lucene-solr/blob/branch_8_6/solr/solrj/ivy.xml Caused by: java.lang.NoSuchMethodError: 'java.lang.Object org.noggit.ObjectBuilder.getValStrict()' at

Re: [External] Re: per-field count of documents matched?

2020-02-12 Thread Susmit
i used json facet api for a similar requirement. it can ignore filters from main query if needed and roll up the hit counts to any field .. > On Feb 11, 2020, at 6:19 PM, Fischer, Stephen > wrote: > > Thanks very much! By the way, we are using eDisMax, and the queries our UI > supports

Gather Nodes Streaming

2019-03-20 Thread Susmit Shukla
Hi, Trying to use solr streaming 'gatherNodes' function. It is for extracting email graph based on from and to fields. It requires 'to' field to be a single value field with docvalues enabled since it is used internally for sorting and unique streams The 'to' field can contain multiple email

RealTimeGet - routing

2018-07-26 Thread Susmit
ranges are for router.field so it does not find the doc. I could think of a workaround by computing shards on client and send shards parameter with query. Would it also impact replica sync? Thanks, Susmit

Re: Total Collection Size in Solr 7

2018-06-26 Thread Susmit
Hi Aroop, i created a utility using solrzkclient api to read state.json, enumerated (one) replica for each shard and used /replication handler for size and added them up.. Sent from my iPhone > On Jun 25, 2018, at 7:24 PM, Aroop Ganguly wrote: > > Hi Team > > I am not sure how to ascertain

Re: Exception when processing streaming expression

2018-06-14 Thread Susmit
Hi, This may be expected if one of the streams is closed early - does not reach to EOF tuple Sent from my iPhone > On Jun 14, 2018, at 9:53 AM, Christian Spitzlay > wrote: > > Here ist one I stripped down as far as I could: > > innerJoin(sort(search(kmm, >

Re: Streaming and large resultsets

2017-11-11 Thread Susmit Shukla
limits. Could be useful to turn on debug logging and check. Thanks, Susmit On Thu, Nov 9, 2017 at 8:35 PM, Lanny Ripple <la...@spotright.com> wrote: > First, Joel, thanks for your help on this. > > 1) I have to admit we really haven't played with a lot of system tuning > recently

Re: deep paging in parallel sql

2017-09-07 Thread Susmit Shukla
/ Thanks, Susmit On Wed, Sep 6, 2017 at 10:45 PM, Imran Rajjad <im...@elogic.pk> wrote: > My only concern is the performance as the cursor moves forward in > resultset with approximately 2 billion records > > Regards, > Imran > > Sent from Mail for Windows 10 >

Re: solr /export handler - behavior during close()

2017-06-27 Thread Susmit Shukla
with a new constructor on master branch. I guess it is all good going forward on master. Thanks, Susmit On Tue, Jun 27, 2017 at 10:14 AM, Joel Bernstein <joels...@gmail.com> wrote: > Ok, I see where it's not set the stream context. This needs to be fixed. > > I'm curious about wher

Re: solr /export handler - behavior during close()

2017-06-25 Thread Susmit Shukla
(true){ read(); break after 2 iterations } ps.close() //close() reads through the end of tupleStream. I tried with HttpClient created by *org**.**apache**.**http**.**impl**.* *client**.HttpClientBuilder.create()* and close() is working for that. Thanks, Susmit On Wed, May 17, 2017 at 7:33 AM

Re: Performance Issue in Streaming Expressions

2017-06-01 Thread Susmit Shukla
Hi, Which version of solr are you on? Increasing memory may not be useful as streaming API does not keep stuff in memory (except may be hash joins). Increasing replicas (not sharding) and pushing the join computation on worker solr cluster with #workers > 1 would definitely make things faster.

Re: solr /export handler - behavior during close()

2017-05-17 Thread Susmit Shukla
, it can't override the hardcoded 8kb buffer on sun.nio.cs.StreamDecoder Thanks, Susmit On Wed, May 17, 2017 at 5:49 AM, Joel Bernstein <joels...@gmail.com> wrote: > Susmit, > > You could wrap a LimitStream around the outside of all the relational > algebra. For example: > > p

Re: solr /export handler - behavior during close()

2017-05-16 Thread Susmit Shukla
by number of replicas? Thanks, Susmit On Tue, May 16, 2017 at 5:59 AM, Joel Bernstein <joels...@gmail.com> wrote: > Your approach looks OK. The single sharded worker collection is only needed > if you were using CloudSolrStream to send the initial Streaming Expression > to the /stre

Re: solr /export handler - behavior during close()

2017-05-15 Thread Susmit Shukla
degrading if number was 3 and above. That is counter intuitive since the joins are huge and putting more workers should have improved the performance. Thanks, Susmit On Mon, May 15, 2017 at 6:47 AM, Joel Bernstein <joels...@gmail.com> wrote: > Ok please do report any issues you run into. T

Re: solr /export handler - behavior during close()

2017-05-13 Thread Susmit Shukla
behavior. Can you open a ticket for this? > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Sat, May 13, 2017 at 2:51 PM, Susmit Shukla <shukla.sus...@gmail.com> > wrote: > > > Hi Joel, > > > > I was using Cloud

Re: solr /export handler - behavior during close()

2017-05-13 Thread Susmit Shukla
) at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:193) at java.io.InputStreamReader.close(InputStreamReader.java:199) at org.apache.solr.client.solrj.io.stream.JSONTupleStream.close(JSONTupleStream.java:91) at org.apache.solr.client.solrj.io.stream.SolrStream.close(SolrStream.java:186) Thanks, Susmit On Sat, May 13

Re: solr /export handler - behavior during close()

2017-05-13 Thread Susmit Shukla
think there should be an abort() API for solr streams that hooks into httpmethod.abort() . That would enable client to disconnect early and probably that would disconnect the underlying socket so there would be no leaks. Thanks, Susmit On Sat, May 13, 2017 at 7:42 AM, Joel Bernstein <jo

Re: solr /export handler - behavior during close()

2017-05-12 Thread Susmit Shukla
Hi Joel, Thanks for the insight. How can this exception be thrown/forced from client side. Client can't do a System.exit() as it is running as a webapp. Thanks, Susmit On Fri, May 12, 2017 at 4:44 PM, Joel Bernstein <joels...@gmail.com> wrote: > In this scenario the /export handler

solr /export handler - behavior during close()

2017-05-12 Thread Susmit Shukla
. Another option would be to use /select handler and get into business of managing a custom cursor mark that is based on the stream sort and is reset until it fetches the required records at topmost level. Any thoughts. Thanks, Susmit

Re: how to sampling search result

2016-09-29 Thread Susmit
If you constrain random sample to fixed number instead of percentage , reservoir sampling can be used without even calculating the total match count. this can be done on client side. you could stop sampling after a max e.g 10 million. > On Sep 28, 2016, at 10:15 AM, Pushkar Raste

Json Parse Exception in CloudSolrStream class

2016-07-03 Thread Susmit Shukla
ream.JSONTupleStream.next(JSONTupleStream.java:85) at org.apache.solr.client.solrj.io.stream.SolrStream.read(SolrStream.java:148) Should I json escape the string before indexing.. Also I do not need to retrieve this field but /export handler makes it mandatory to retrieve all the fields that are used for sort criteria. Thanks, Susmit

Re: export with collapse filter runs into NPE

2016-06-10 Thread Susmit Shukla
, 2016 at 1:09 PM, Joel Bernstein <joels...@gmail.com> wrote: > This sounds like a bug. I'm pretty sure there are no tests that use > collapse with the export handler. > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Fri, Jun 10, 2016 at 3:59 PM, Susmit Shukla <sh

export with collapse filter runs into NPE

2016-06-10 Thread Susmit Shukla
Hi, I'm running this export query, it is working fine. f1 is the uniqueKey and running solr 5.3.1 /export?q=f1:term1=f1+desc=f1,f2 if I add collapsing filter, it is giving NullPointerException /export?q=f1:term1=f1+desc=f1,f2={!collapse field=f2} does collapsing filter work with /export

Re: start parameter for CloudSolrStream

2016-06-08 Thread Susmit Shukla
for CloudSolrStream params? Thanks, Susmit On Wed, Jun 8, 2016 at 8:58 AM, Joel Bernstein <joels...@gmail.com> wrote: > CloudSolrStream doesn't really understand the concept of paging. It just > sees a stream of Tuples coming from a collection and merges them. > > If you're using t

start parameter for CloudSolrStream

2016-06-07 Thread Susmit Shukla
*sending with correct subject* Does solr streaming aggregation support pagination? Some documents seem to be skipped if I set "start" parameter for CloudSolrStream for a sharded collection. Thanks, Susmit

Re: Field Definitions Ignored

2016-06-07 Thread Susmit Shukla
Does solr streaming aggregation support pagination? Some documents seem to be skipped if I set "start" parameter for CloudSolrStream for a sharded collection. Thanks, Susmit

Re: fq behavior...

2016-05-05 Thread Susmit Shukla
Please take a look at this blog, specifically "Leapfrog Anyone?" section- http://yonik.com/advanced-filter-caching-in-solr/ Thanks, Susmit On Thu, May 5, 2016 at 10:54 PM, Bastien Latard - MDPI AG < lat...@mdpi.com.invalid> wrote: > Hi guys, > > Just a quick ques

Re: Query String Limit

2016-05-05 Thread Susmit Shukla
Hi Prasanna, What is the exact number you set it to? What error did you get on solr console and in the solr logs? Did you reload the core/restarted solr after bumping up the solrconfig? Thanks, Susmit On Wed, May 4, 2016 at 9:45 PM, Prasanna S. Dhakephalkar < prasann...@merajob.in> wrote:

Re: The Streaming API (Solrj.io) : id must have DocValues?

2016-04-26 Thread Susmit Shukla
Which solrj version are you using? could you try with solrj 6.0 On Tue, Apr 26, 2016 at 10:36 AM, sudsport s wrote: > @Joel > >Can you describe how you're planning on using Streaming? > > I am mostly using it for distirbuted join case. We were planning to use > similar

Re: Cross collection join in Solr 5.x

2016-04-21 Thread Susmit Shukla
I have done it by extending the solr join plugin. Needed to override 2 methods from join plugin and it works out. Thanks, Susmit On Thu, Apr 21, 2016 at 12:01 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Hello, > > There is no much progress on > https://issu

Re: Return only parent on child query match (w/o block-join)

2016-04-19 Thread Susmit Shukla
Hi Shamik, you could try solr grouping using group.query construct. you could discard the child match from the result i.e. any doc that has parent_doc_id field and use join to fetch the parent record q=*:*=true=title:title2={!join from=parent_doc_id to=doc_id}parent_doc_id:*=10 Thanks, Susmit

Re: UUID processor handling of empty string

2016-04-17 Thread Susmit Shukla
review: > http://wiki.apache.org/solr/UsingMailingLists > > Best, > Erick > > On Sat, Apr 16, 2016 at 9:54 AM, Jack Krupansky > <jack.krupan...@gmail.com> wrote: > > Remove that line of code from your client, or... add the remove blank > field > > update pr

Re: UUID processor handling of empty string

2016-04-16 Thread Susmit Shukla
file a jira. Thanks, Susmit On Sat, Apr 16, 2016 at 8:56 AM, Jack Krupansky <jack.krupan...@gmail.com> wrote: > "UUID processor factory is generating uuid even if it is empty." > > The processor will generate the UUID only if the id field is not specified > in the i

Re: UUID processor handling of empty string

2016-04-14 Thread Susmit Shukla
Hi Chris/Erick, Does not work in the sense the order of documents does not change on changing sort from asc to desc. This could be just a trivial bug where UUID processor factory is generating uuid even if it is empty. This is on solr 5.3.0 Thanks, Susmit On Thu, Apr 14, 2016 at 2:30 PM

UUID processor handling of empty string

2016-04-14 Thread Susmit Shukla
field from the SolrInputDocument . SolrInputDocument solrDoc.addField("id", ""); ... I am using schema similar to below- id id uuid Thanks, Susmit

Question regarding empty UUID field

2016-04-12 Thread Susmit Shukla
field. The issues do not happen if I omit the id field from the SolrInputDocument . SolrInputDocument solrDoc.addField("id", ""); ... I am using schema similar to below- id id uuid Thanks, Susmit

Solr Cloud Default Document Routing

2014-09-24 Thread Susmit Shukla
/;,[ QTime,0, ElapsedTime,4, RequestPurpose,GET_FIELDS,GET_DEBUG, NumFound,1, Thanks, Susmit

fix wiki error

2014-07-08 Thread Susmit Shukla
The url for solr atomic update documentation should contain json in the end. Here is the page - https://wiki.apache.org/solr/UpdateJSON#Solr_4.0_Example curl http://localhost:8983/solr/update/*json* -H 'Content-type:application/json'