Re: NPE when using timeAllowed in the /export handler

2017-01-21 Thread radha krishnan
e allowed and the /export handler are not currently > compatible. > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Fri, Jan 20, 2017 at 8:57 PM, radha krishnan < > dradhakrishna...@gmail.com> > wrote: > > > Hi, > > > > am trying to query a core wi

NPE when using timeAllowed in the /export handler

2017-01-20 Thread radha krishnan
Hi, am trying to query a core with 60 million docs by specifying timeAllowed as 100 ms just to test the timeAllowed feature. This is the query http://10.20.132.162:8983/solr/large_core/export?indent=on=*:*=false=logtype=100=logtype+asc=json=2.2 when i ran in the browser, i got the below NPE

range facet query with /sql handler

2017-01-18 Thread radha krishnan
HI, can we do a range facet query with /sql handler in solr 6.3 ? something like the below one json.facet: { my_histogram: { type: range, field: timestamp, start: "2017-01-06T20:04:19.884Z", end: "2017-01-06T22:07:37.778Z", gap: "+1MINUTE", mincount: 0 } } q: timestamp:

regarding extending classes in org.apache.solr.client.solrj.io.stream.metrics package

2017-01-10 Thread radha krishnan
Hi, i want to extend the update(Tuple tuple) method in MaxMetric,. MinMetric, SumMetric, MeanMetric classes. can you please make the below metioned variables and methods in the above mentioned classes as protected so that it will be easy to extend variables --- longMax doubleMax

Re: regarding extending classes in org.apache.solr.client.solrj.io.stream.metrics package

2017-01-13 Thread radha krishnan
an appropriate Jira ticket. You can submit it here: > > https://issues.apache.org/jira/browse/solr > > Also, if you want to submit a patch, check out the guidelines (it's pretty > easy): > > https://wiki.apache.org/solr/HowToContribute > > > k/r, > Scott >

equivalent of json.facet's "gap" keyword in /sql

2017-01-13 Thread radha krishnan
Hi, can we write an SQL statement and use the /sql handler to get the json.facet;s "gap" functionality. Ex facet query : json.facet: { my_histogram: { type: range, field: i_timestamp, start: "2016-10-21T01:00:00Z", end: "2016-10-21T02:00:00Z", gap: "+1MINUTE", mincount: 0 } } Thanks,

Regarding /sql -- WHERE <> IS NULL and IS NOT NULL

2017-01-05 Thread radha krishnan
Hi, solr version : 6.3 will WHERE <> IS NULL / IS NOT NULL work with the /sql handler ? " select name from gettingstarted where name is not null " the above query is not returning any documents in the response even if there are documents with "name"defined Thanks, Radhakrishnan D

use psuedo-field in json.facet api

2017-01-06 Thread radha krishnan
Hi, can we use a psuedo-field in json.facet api ? is there any example like the one below ? json.facet={ my_histogram: { type: terms, field: new_field:my_function(my_solr_field, "return_as_integer") } } Thanks, Radhakrishnan D

multiple order by clauses with the sql handler

2016-12-29 Thread radha krishnan
Hi, when i was trying out the SQL functionality, i realized that multiple order by clauses work only when " select distinct " command is used where as it does not work with a " select "command Eg: SELECT distinct name, salary, distance_from_office FROM "employees_core" ORDER BY salary desc ,

Re: multiple order by clauses with the sql handler

2016-12-29 Thread radha krishnan
Bernstein <joels...@gmail.com> > wrote: > > > This would be a bug. I'll take a look at the test cases and see if there > > is a test case for this. > > > > Joel Bernstein > > http://joelsolr.blogspot.com/ > > > > On Thu, Dec 29, 2016 at 3

honouring terms.limit parameter in a distributed search for /terms api

2017-03-08 Thread radha krishnan
Hi, in the TermsComponent.java's, createShardQuery, the motive to specify terms.limit to -1 is clearly specified in java comment but we have a usecase where have thousands of terms and we want each core to return only the value specfied by terms.limit. can we have two flavours of

q=-id:xxxx in export handler does not work but works ok in select.

2017-03-12 Thread radha krishnan
q=-id: in export handler does not work but works ok in select. Works: http://localhost:8983/solr/bucket4/select?q=id:8733*=1=_version_%20desc=id Does not work: http://localhost:8983/solr/bucket4/export?q=id:8733*=1=_version_%20desc=id looks a bug with solr or am i making a mistake here

query parsing output in analysis page and query page are different

2017-08-07 Thread radha krishnan
Hi, I created the following fieldType in schema.xml mapping.txt contains the following (replacing dot with white space) "." => " " and using the above in the field 1. in the analysis page on the solr UI

solr jetty based auth and distributed solr requests

2017-08-22 Thread radha krishnan
Hi, I enabled jetty basic auth for solr by making changes to jetty.xml and add a 'realm.properties' while basic queries are working, queries involving more than one shard is not working. i went through the code and figured out that in HttpShardHandler, there is no provision to specify a