Re: Solr cloud facet query returning incorrect results

2020-12-21 Thread Erick Erickson
with following > parameters > > "q":"organization:abc", > "facet.limit":"10", > "facet.field":"doc_id", > "indent":"on", > "fl":"archive_id", > "

Solr cloud facet query returning incorrect results

2020-12-21 Thread Alok Bhandari
with following parameters "q":"organization:abc", "facet.limit":"10", "facet.field":"doc_id", "indent":"on", "fl":"archive_id", "facet.mincount":"2", &q

Re: Facet Query performance

2019-07-08 Thread Shawn Heisey
On 7/8/2019 12:00 PM, Midas A wrote: Number of Docs :50+ docs Index Size: 300 GB RAM: 256 GB JVM: 32 GB Half a million documents producing an index size of 300GB suggests *very* large documents. That typically produces an index with fields that have very high cardinality, due to text

Re: Facet Query performance

2019-07-08 Thread Shawn Heisey
On 7/8/2019 3:08 AM, Midas A wrote: I have enabled docvalues on facet field but query is still taking time. How i can improve the Query time . docValues="true" multiValued="true" termVectors="true" /> *Query: * There's very little information here -- only a single field definition and

Re: Facet Query performance

2019-07-08 Thread Midas A
Hi How i can know whether DocValues are getting used or not ? Please help me here . On Mon, Jul 8, 2019 at 2:38 PM Midas A wrote: > Hi , > > I have enabled docvalues on facet field but query is still taking time. > > How i can improve the Query time . > docValues="true" multiValued="true"

Facet Query performance

2019-07-08 Thread Midas A
Hi , I have enabled docvalues on facet field but query is still taking time. How i can improve the Query time . *Query: * http://X.X.X.X:

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-05 Thread Zheng Lin Edwin Yeo
Hi Jason, Yes. I am using the latest Solr 8.1.1. The query which I'm using is the JSON Facet query which I faced the error initially. Regards, Edwin On Tue, 4 Jun 2019 at 20:15, Jason Gerlowski wrote: > Hi Edwin, > > Thanks for the additional datapoint. It seemed to work for m

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-04 Thread Jason Gerlowski
Hi Edwin, Thanks for the additional datapoint. It seemed to work for me, but we don't really understand the problem yet, so maybe it's not a solid work around like I'd hoped. I'm curious to hear whether it works for Colvin. To double check though: forwardCredentials is only supported in Solr >

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-04 Thread Zheng Lin Edwin Yeo
Hi Jason, Thanks for your reply. I have tried to add the "forwardCredentials": true in the security.json, but I still get the same error. Regards, Edwin On Mon, 3 Jun 2019 at 22:19, Colvin Cowie wrote: > Hi, thanks I'll give that a go when I get a chance. > > I was trying to reply to an

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Colvin Cowie
Hi, thanks I'll give that a go when I get a chance. I was trying to reply to an older thread ( http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201904.mbox/%3CCAF2DzVXeVZqnixnkbzw0La1ui5N5-RG9PwfMBHG9vmkfBSMzJA%40mail.gmail.com%3E), which I don't have in my mailbox, so obviously didn't

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
Hi Colvin, We're still taking a look at fixing the bug, but as a workaround in the meantime, you can look into adding a "forwardCredentials":true property under the "authentication" section of security.json. That seems to fix the issue in my reproduction at least. e.g. { "authentication":

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
One last note: as far as I can tell, nothing about this issue is specific to JSON Faceting or the JSON request API. It can be triggered just as easily with "/select?q=*:*". The bug created for this is: SOLR-13510 On Mon, Jun 3, 2019 at 9:17 AM Jason Gerlowski wrote: > > I'm also able to

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
I'm also able to reproduce this bug on master. A few more notes about the bad behavior: - the behavior occurs regardless of the specific permissions configured in security.json. (i.e. whether the top permission is "all", or "security-edit", or there are no permissions at all.) - I tried looking

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-02 Thread Colvin Cowie
Hello. I encountered this issue too and wrote this up before I found this thread, but I thought I might as well post it still, if it helps... Currently I'm trying to move our product on to Solr 8.1.1. We are currently using 6.6.6, so things have definitely moved on. We use the BasicAuthPlugin +

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-30 Thread Erick Erickson
uot;admin"} >>>>> >>>>> , >>>>> "permissions":[ >>>>> {"name":"security-edit", "role":"admin"} >>>>> >>>>> ] >>>>> }

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-30 Thread Zheng Lin Edwin Yeo
t; >>> >> >>> Regards, >> >>> Edwin >> >>> >> >>> On Thu, 18 Apr 2019 at 18:04, Zheng Lin Edwin Yeo < >> edwinye...@gmail.com> >> >>> wrote: >> >>> >> >>>>

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-25 Thread Zheng Lin Edwin Yeo
ould be a bug in the new Solr 8.0.0? > >>>> > >>>> Since I do not face the issue in the earlier version, and I have not > >>>> changed any configuration in this new version. My data in Solr 8.0.0 > is > >>>> freshly re-index directly in Solr 8.0.0,

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-25 Thread Jan Høydahl
>>> >>>> On Thu, 18 Apr 2019 at 10:10, Zheng Lin Edwin Yeo >>>> wrote: >>>> >>>>> Hi Jason, >>>>> >>>>> The same problem still persist after restarting my Solr nodes. The only >>>>> time the problem didn't

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-25 Thread Zheng Lin Edwin Yeo
;>> same problem. Even the similar query with only 1 shard does not have the >>>> problem. >>>> >>>> >>>> https://localhost:8983/solr/collection1/select?q=testing=https://localhost:8983/solr/collection1=0={categories >>>> : {

Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-04-24 Thread Zheng Lin Edwin Yeo
100}} >>> >>> >>> It is only when there are 2 or more shards, that the problem occur. >>> >>> >>> https://localhost:8983/solr/collection1/select?q=testing=https://localhost:8983/solr/collection1,https://localhost:8983/solr/collection2=0={categories

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-21 Thread Zheng Lin Edwin Yeo
>> Anyway, that's easy for you to test though. Try a few "/select?q=*:*" >>> queries and see whether they also exhibits this behavior. One other >>> question: does the behavior persist after restarting your Solr nodes? >>> >>> Good luck, >>> >&

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-18 Thread Zheng Lin Edwin Yeo
Apr 17, 2019 at 4:05 AM Zheng Lin Edwin Yeo >> wrote: >> > >> > Hi, >> > >> > For your info, I have enabled basic authentication and SSL in all the 3 >> > versions, and I'm not sure if the issue is more on the authentication >> side >> &g

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-17 Thread Zheng Lin Edwin Yeo
r Solr nodes? > > Good luck, > > Jason > > On Wed, Apr 17, 2019 at 4:05 AM Zheng Lin Edwin Yeo > wrote: > > > > Hi, > > > > For your info, I have enabled basic authentication and SSL in all the 3 > > versions, and I'm not sure if the issue is more on

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-17 Thread Jason Gerlowski
ide > instead of the JSON Facet query? > > Regards, > Edwin > > On Wed, 17 Apr 2019 at 06:54, Zheng Lin Edwin Yeo > wrote: > > > Hi Jason, > > > > Yes, that is correct. > > > > Below is the format of my security.json. I have chang

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-17 Thread Zheng Lin Edwin Yeo
Hi, For your info, I have enabled basic authentication and SSL in all the 3 versions, and I'm not sure if the issue is more on the authentication side instead of the JSON Facet query? Regards, Edwin On Wed, 17 Apr 2019 at 06:54, Zheng Lin Edwin Yeo wrote: > Hi Jason, > > Yes, that i

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-16 Thread Jason Gerlowski
Hi Edwin, To clarify what you're running into: - on 7.6, this query works all the time - on 7.7 this query works all the time - on 8.0, this query works the first time you run it, but subsequent runs return a 401 error? Is that correct? It might be helpful for others if you could share your

JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-15 Thread Zheng Lin Edwin Yeo
Hi, I am using the below JSON Facet to retrieve the count of all the different collections in one query.

Re: SolrCloud become unresponsive after huge pivot facet query

2019-01-31 Thread Shawn Heisey
On 1/31/2019 12:11 PM, Ruchir Choudhry wrote: Wanted to start working on Solr bugs, will appreciate if you or some can allocate me with some minor bugs. It doesn't work like that. Issues are not handed out, it's a strictly volunteer system. You'll need to find the issues you want to work

Re: SolrCloud become unresponsive after huge pivot facet query

2019-01-31 Thread Ruchir Choudhry
Hello Erick, Wanted to start working on Solr bugs, will appreciate if you or some can allocate me with some minor bugs. Warm Regards, Ruchir On Wed, Jan 30, 2019 at 8:53 AM Erick Erickson wrote: > My suggestion is "don't do that" ;). > > Ok, seriously. Conceptually what you have is an

R: SolrCloud become unresponsive after huge pivot facet query

2019-01-31 Thread Matteo Diarena
le- Da: Erick Erickson Inviato: 30 January 2019 17:44 A: solr-user Oggetto: Re: SolrCloud become unresponsive after huge pivot facet query My suggestion is "don't do that" ;). Ok, seriously. Conceptually what you have is an N-dimnensional matrix. Each "dimension" is one of y

Re: SolrCloud become unresponsive after huge pivot facet query

2019-01-30 Thread Erick Erickson
My suggestion is "don't do that" ;). Ok, seriously. Conceptually what you have is an N-dimnensional matrix. Each "dimension" is one of your pivot fields with one cell for each unique value in the field. So the size is (cardinality of field 1) x (cardinality of field 2) * (cardinality of field 3)

SolrCloud become unresponsive after huge pivot facet query

2019-01-30 Thread Matteo Diarena
Dear all, we have a solrcloud cluster with the following features: - 3 zookeeper nodes - 4 solr nodes with: - 4 CPU - 16GB RAM Each solr instance is configured as follow: SOLR_JAVA_MEM="-Xms2g -Xmx8g"

Re: Json Facet Query Stripping Field Name with Hyphen

2018-01-04 Thread RAUNAK AGRAWAL
Hi Erick/Yonik, Thank you guys. I am going to rename the fields. On Thu, Jan 4, 2018 at 10:04 PM, Yonik Seeley wrote: > The JSON Facet API uses the function query parser for something like > sum(week_-91) so you'll probably have problems with any function that > uses these

Re: Json Facet Query Stripping Field Name with Hyphen

2018-01-04 Thread Yonik Seeley
The JSON Facet API uses the function query parser for something like sum(week_-91) so you'll probably have problems with any function that uses these fields as well. As Erick says, you're better off renaming the fields. There is a workaround for wonky field names via the "field" function:

Re: Json Facet Query Stripping Field Name with Hyphen

2018-01-04 Thread Erick Erickson
>From the ref guide: "Field names should consist of alphanumeric or underscore characters only and not start with a digit." While field naming isn't strictly enforced, having field names like week_-1 is also not guaranteed to be supported. You should change your field name. I raised SOLR-11819

Json Facet Query Stripping Field Name with Hyphen

2018-01-04 Thread RAUNAK AGRAWAL
Hi Guys, I am facing issue where I am trying to follow the JSON facet API. I have data in my collection and field names are like "week_0", "week_-1" which means current week and previous week respectively. When I am querying for week_0 summation using the following query I am able to get the

Re: facet query when using word 'AND'

2017-09-06 Thread Erick Erickson
ep 6, 2017 at 6:13 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 9/6/2017 3:48 AM, Noriyuki TAKEI wrote: >> I use facet query,but I found it dose not work when using 'AND'. >> >> I woud like to use facet query using 'AND' as not Operator but simple word. > &g

Re: facet query when using word 'AND'

2017-09-06 Thread Shawn Heisey
On 9/6/2017 3:48 AM, Noriyuki TAKEI wrote: > I use facet query,but I found it dose not work when using 'AND'. > > I woud like to use facet query using 'AND' as not Operator but simple word. With the standard or edismax parser, AND in all uppercase is interpreted as an operator.  Ther

facet query when using word 'AND'

2017-09-06 Thread Noriyuki TAKEI
Hi,all I use facet query,but I found it dose not work when using 'AND'. I woud like to use facet query using 'AND' as not Operator but simple word. At first,Solr Config is as below. suggest_dict solr.Suggester AnalyzingLookupFactory suggest suggest_ja

Re: Filter Facet Query

2017-04-18 Thread Furkan KAMACI
Hi Alex, I found the reason, thanks for the help. Facet shows all possible values including 0. Could you help on my last question: I have facet results like: "", 9 "research",6 "development",3 I want to filter empty string from my facet "" (I don't want to add it to fq, just filter from

Re: Filter Facet Query

2017-04-18 Thread Alexandre Rafalovitch
Are you saying that all the values in the facet are zero with that query? The query you gave seems to be the super-basic faceting code, so maybe something super-basic is missing. E.g. *) Did you check that the documents you get back actually have any values in that field to facet on? *) Did you

Re: Filter Facet Query

2017-04-18 Thread Furkan KAMACI
OK, it returns 0 results every time. So, I want to filter out research values with empty string ("") from facet result. How can I do that? On Tue, Apr 18, 2017 at 8:53 AM, Furkan KAMACI wrote: > First problem is they do not match with main query. > > 18 Nis 2017 Sal,

Re: Filter Facet Query

2017-04-17 Thread Furkan KAMACI
First problem is they do not match with main query. 18 Nis 2017 Sal, saat 01:54 tarihinde Dave şunu yazdı: > Min.count is what you're looking for to get non 0 facets > > > On Apr 17, 2017, at 6:51 PM, Furkan KAMACI > wrote: > > > > My

Re: Filter Facet Query

2017-04-17 Thread Dave
Min.count is what you're looking for to get non 0 facets > On Apr 17, 2017, at 6:51 PM, Furkan KAMACI wrote: > > My query: > > /select?facet.field=research=on=content:test > > Q1) Facet returns research values with 0 counts which has a research value > that is not from

Filter Facet Query

2017-04-17 Thread Furkan KAMACI
My query: /select?facet.field=research=on=content:test Q1) Facet returns research values with 0 counts which has a research value that is not from a document matched by main query (content:test). Is that usual? Q2) I want to filter out research values with empty string ("") from facet result.

Re: Facet query - exlude main query

2017-02-21 Thread Jacques du Rand
Oh right right ! Sorry late night :) Thank You Chris On 21 February 2017 at 20:30, Chris Hostetter wrote: > > : Maybe I'm doing something wrong ? > : /select?q.op=OR=2={!tag=mq}nissan=name%20name_ > raw=json=0=20={!ex=tag_mq}feature_s_1_make > > that url still

Re: Facet query - exlude main query

2017-02-21 Thread Chris Hostetter
: Maybe I'm doing something wrong ? : /select?q.op=OR=2={!tag=mq}nissan=name%20name_raw=json=0=20={!ex=tag_mq}feature_s_1_make that url still contains "ex=tag_mq" .. which is looking for a query with a tag named "tag_mq" .. in your q param you are using a tag named "mq" Use

Re: Facet query - exlude main query

2017-02-21 Thread Jacques du Rand
Maybe I'm doing something wrong ? /select?q.op=OR=2={!tag=mq}nissan=name%20name_raw=json=0=20={!ex=tag_mq}feature_s_1_make Still only getting ONE facet value ? { status: 0, QTime: 5, params: { mm: "2", facet.field: [ "{!ex=tag_mq}feature_s_1_make", "{!ex=tag_model}feature_s_2_model" ], qs:

Re: Facet query - exlude main query

2017-02-21 Thread Chris Hostetter
: facet.field: [ : "{!ex=tag_make,tag_model,tag_mq}feature_s_1_make", : "{!ex=tag_model}feature_s_2_model" ... : q: "{!tag=mq}nissan", You are attempting to exclude tags named "tag_make", "tag_model", and "tag_mq" -- but the name of the tag you are using in the query is "mq" if you

Re: Facet query - exlude main query

2017-02-21 Thread Jacques du Rand
Sure.. So this is for a car search-application If i change: q={!tag=mq}nissan to q=*:* I get all the makes. VAR ECHO: responseHeader: { status: 0, QTime: 4, params: { mm: "2", facet.field: [ "{!ex=tag_make,tag_model,tag_mq}feature_s_1_make", "{!ex=tag_model}feature_s_2_model" ], qs: "5",

Re: Facet query - exlude main query

2017-02-21 Thread Chris Hostetter
: Solr3.1 Starting with Solr 3.1, the : primary relevance query (i.e. the one normally specified by the *q* parameter) : may also be excluded. : : But doesnt show me how to exlude it ?? same tag + ex local params, as you had in your example... : 2.

Facet query - exlude main query

2017-02-21 Thread Jacques du Rand
HI Guys The Wiki says Solr3.1 Starting with Solr 3.1, the primary relevance query (i.e. the one normally specified by the *q* parameter) may also be excluded. But doesnt show me how to exlude it ?? i've tried: 1 .={!ex=tag_man,mainquery}manufacturer

Re: How to alter the facet query limit default

2017-01-31 Thread alessandro.benedetti
you found any reason/bug ? Cheers [1] https://cwiki.apache.org/confluence/display/solr/RequestHandlers+and+SearchComponents+in+SolrConfig -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317994.html Sent from the Solr

Re: How to alter the facet query limit default

2017-01-31 Thread Comcast
end ? > > Cheers > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to alter the facet query limit default

2017-01-31 Thread Comcast
ers > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to alter the facet query limit default

2017-01-31 Thread alessandro.benedetti
What was the problem with the default in the end ? Cheers -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-alter-the-facet-query-limit-default-tp4315939p4317964.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to alter the facet query limit default

2017-01-30 Thread Erick Erickson
falovitch" <arafa...@gmail.com> > To: "solr-user" <solr-user@lucene.apache.org> > Sent: Thursday, January 26, 2017 11:40:49 AM > Subject: Re: How to alter the facet query limit default > > facet.limit? > f..facet.limit? (not sure how that would work with

Re: How to alter the facet query limit default

2017-01-30 Thread KRIS MUSSHORN
49 AM Subject: Re: How to alter the facet query limit default facet.limit? f..facet.limit? (not sure how that would work with field name that contains dots) Docs are at: https://cwiki.apache.org/confluence/display/solr/Faceting Regards, Alex. http://www.solr-start.com/ - Resources for

Re: How to alter the facet query limit default

2017-01-26 Thread KRIS MUSSHORN
t;solr-user@lucene.apache.org> Sent: Thursday, January 26, 2017 11:40:49 AM Subject: Re: How to alter the facet query limit default facet.limit? f..facet.limit? (not sure how that would work with field name that contains dots) Docs are at: https://cwiki.apache.org/confluence/displa

Re: How to alter the facet query limit default

2017-01-26 Thread Alexandre Rafalovitch
facet.limit? f..facet.limit? (not sure how that would work with field name that contains dots) Docs are at: https://cwiki.apache.org/confluence/display/solr/Faceting Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 26 January 2017 at 10:36,

How to alter the facet query limit default

2017-01-26 Thread KRIS MUSSHORN
SOLR 5.4.1 i am running a query with multiple facet fields. _snip_ select?q=*%3A*=metatag.date.prefix4+DESC=7910=metatag.date.prefix7=json=true=true=metatag.date.prefix7 =metatag.date.prefix4=metatag.doctype field metatag.date.prefix7 has way more facets than the default of 100. How would I

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:

Re: facet query performance

2016-11-14 Thread Toke Eskildsen
On Mon, 2016-11-14 at 11:36 +0530, Midas A wrote: > How to improve facet query performance 1) Don't shard unless you really need to. Replicas are fine. 2) If the problem is the first facet call, then enable DocValues and re-index. 3) Keep facet.limit <= 100, especially if you shard. an

facet query performance

2016-11-13 Thread Midas A
How to improve facet query performance

Re: normal solr query vs facet query performance

2016-04-18 Thread Shawn Heisey
On 4/18/2016 5:06 AM, Mugeesh Husain wrote: > 1.)solr normal query(q=*:*) vs facet query(facet.query="abc") ? > 2.)solr normal query(q=*:*) vs facet > search(facet=tru=coullumn_name) ? > 3.)solr filter query(q=Column:some value) vs facet query(facet.query="abc&quo

normal solr query vs facet query performance

2016-04-18 Thread Mugeesh Husain
Hello, I am looking for which query will be fast in term of performance, 1.)solr normal query(q=*:*) vs facet query(facet.query="abc") ? 2.)solr normal query(q=*:*) vs facet search(facet=tru=coullumn_name) ? 3.)solr filter query(q=Column:some value) vs facet query(facet.query="

Json facet query error "null:java.lang.IllegalArgumentException"

2015-12-22 Thread Yago Riveiro
Hi, I'm hitting an error when a try to run a json facet query in a node that doesn't have any shard that belongs to collection. The same query using using the legacy facet method works. http://devel-16:8983/solr/collection-perf/query?rows=0=*:*={label:{type:terms,field:url,limit:-1,sort

Re: Json facet query error "null:java.lang.IllegalArgumentException"

2015-12-22 Thread Yonik Seeley
This was a generic query-forwarding bug in Solr, that was recently fixed. Not sure the JIRA now... what version are you using? -Yonik On Tue, Dec 22, 2015 at 10:11 AM, Yago Riveiro <yago.rive...@gmail.com> wrote: > Hi, > > I'm hitting an error when a try to run a json facet

Re: Json facet query error "null:java.lang.IllegalArgumentException"

2015-12-22 Thread Yonik Seeley
re you using? > -Yonik > > > On Tue, Dec 22, 2015 at 10:11 AM, Yago Riveiro <yago.rive...@gmail.com> wrote: >> Hi, >> >> I'm hitting an error when a try to run a json facet query in a node that >> doesn't have any shard that belongs to collection. The s

Re: Json facet query error "null:java.lang.IllegalArgumentException"

2015-12-22 Thread Yago Riveiro
>> -Yonik >> >> >> On Tue, Dec 22, 2015 at 10:11 AM, Yago Riveiro <yago.rive...@gmail.com> >> wrote: >>> Hi, >>> >>> I'm hitting an error when a try to run a json facet query in a node that >>> doesn't have any shard that be

Re: Solr facet query(critical solr query response)

2015-11-04 Thread Alessandro Benedetti
t; Review-[reviewID, userid,restid,comment...] > > I am searching based on restaurant, how could i will find column of > user > > Please give suggestion > > Thanks, > Mugeesh > > > > > > > > -- > View this message in context: > http://lucene.47206

Re: Solr facet query(critical solr query response)

2015-11-04 Thread Erik Hatcher
quot;] ,vk:["s0"] and so on. > > I want to facet in below way > > ta-[so=0,s1=2,s2=0] > tb-[so=0,s1=1,s2=0] > tc-[so=2,s1=0,s2=0] > td-[so=0,s1=0,s2=0] > > how i create query which i can get such response ? > > Please suggestion > > Thanks, > Mu

Re: Solr facet query(critical solr query response)

2015-11-04 Thread Mugeesh Husain
ould i will find column of user Please give suggestion Thanks, Mugeesh -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-facet-query-critical-solr-query-response-tp4238135p4238180.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr facet query(critical solr query response)

2015-11-04 Thread Mugeesh Husain
quot;] ,vk:["s2"] row5: vi:["ta"] ,vk:["s1"] row5: vi:["tc"] ,vk:["s0"] and so on. I want to facet in below way ta-[so=0,s1=2,s2=0] tb-[so=0,s1=1,s2=0] tc-[so=2,s1=0,s2=0] td-[so=0,s1=0,s2=0] how i create query which i can get such response ? Plea

facet query is not working

2015-06-18 Thread Midas A
http://localhost:8983/solr/col/select?q=*:*sfield=geolocationpt=26.697,83.1876facet.query={!frange%20l=0%20u=50}geodist()facet.query={!frange%20l=50.001%20u=100}geodist()wt=json I am not getting facet results . schema: field name=geolocation type=location indexed=true stored=true/ dynamicField

Re: facet query is not working

2015-06-18 Thread Mikhail Khludnev
isn't facet=true necessary? On Thu, Jun 18, 2015 at 12:03 PM, Midas A test.mi...@gmail.com wrote: http://localhost:8983/solr/col/select?q=*:*sfield=geolocationpt=26.697,83.1876facet.query={!frange%20l=0%20u=50}geodist()facet.query={!frange%20l=50.001%20u=100}geodist()wt=json I am not

Re: facet query is not working

2015-06-18 Thread Alessandro Benedetti
If he has not put any appends or invariant in the request handler, facet=true is mandatory to activate the facets. I haven't tried those specific facet queries . I hope the problem was not simply he didn't activate faceting ... 2015-06-18 10:35 GMT+01:00 Mikhail Khludnev

Re: Global query parameters to facet query

2013-12-10 Thread Chris Hostetter
: when disabling the facet, the query works perfectly. I understand that : either defType parameter or q.myalias.qf parameters, do not affect the : facet query (which always runs with lucene parser??) a top level defType param only applies to the q param. This is by design. defType

Re: Global query parameters to facet query

2013-12-09 Thread Isaac Hebsh
created SOLR-5542. Anyone else want it? On Thu, Dec 5, 2013 at 8:55 PM, Isaac Hebsh isaac.he...@gmail.com wrote: Hi, It seems that a facet query does not use the global query parameters (for example, field aliasing for edismax parser). We have an intensive use of facet queries (in some

Re: Global query parameters to facet query

2013-12-09 Thread Chris Hostetter
: It seems that a facet query does not use the global query parameters (for : example, field aliasing for edismax parser). can you please give a specific example of a query that isn't working for you? Using this query against the examle data, things work exactly as i would expect showing

Global query parameters to facet query

2013-12-05 Thread Isaac Hebsh
Hi, It seems that a facet query does not use the global query parameters (for example, field aliasing for edismax parser). We have an intensive use of facet queries (in some cases, we have a lot of facet.query for a single q), and the using of LocalParams for each facet.query is not convenient

Re: solr facet query on multiple search term

2013-06-11 Thread Chris Hostetter
: Actual requirement is to get day wise total no. of counts for multiple : terms. the approach you described in your original mail (using multiple fqs to identify your terms, and using multiple facet.range requests on the date field with differnet exclusions) will work fine. the confusing

Re: solr facet query on multiple search term

2013-06-10 Thread vrparekh
/lst /lst /lst /lst /lst -- View this message in context: http://lucene.472066.n3.nabble.com/solr-facet-query-on-multiple-search-term-tp4068856p4069259.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr facet query on multiple search term

2013-06-10 Thread Erick Erickson
this message in context: http://lucene.472066.n3.nabble.com/solr-facet-query-on-multiple-search-term-tp4068856p4069259.html Sent from the Solr - User mailing list archive at Nabble.com.

solr facet query on multiple search term

2013-06-07 Thread vrparekh
Hello All, I required facet counts for multiple SearchTerms. Currently I am doing two separate facet query on each search term with facet.range=dateField e.g. http://solrserver/select?q=1stsearchTermfq=onfacet-parameters http://solrserver/select?q=2ndsearchTermfq=onfacet

Re: solr facet query on multiple search term

2013-06-07 Thread Erick Erickson
clauses). So perhaps you can supply a few example input docs and desired counts on the other side. Best Erick On Fri, Jun 7, 2013 at 8:01 AM, vrparekh vrpar...@gmail.com wrote: Hello All, I required facet counts for multiple SearchTerms. Currently I am doing two separate facet query on each search

Re: Maximum number of facet query ina single query

2013-05-01 Thread Jack Krupansky
Sent: Tuesday, April 30, 2013 10:15 PM To: solr-user@lucene.apache.org Subject: Re: Maximum number of facet query ina single query FWIW, one of our current clients runs queries with 6000 facet queries... Otis Solr ElasticSearch Support http://sematext.com/ On Apr 30, 2013 5:22 AM, vicky desai

SolrCloud facet query repeatably fails with No live SolrServers for some terms, not all

2013-05-01 Thread Brett Hoerner
An example: https://gist.github.com/bretthoerner/2ffc362450bcd4c2487a I'll note that all shards and replicas show as Up (green) in the Admin UI. Does anyone know how this could happen? I can repeat this over and over with the same terms. It was my understanding that something like a facet query

Re: facet.offset issue (previosly: [solr 3.4] anomaly during distributed facet query with 102 shards)

2013-04-30 Thread Toke Eskildsen
On Mon, 2013-04-29 at 18:22 +0200, Dmitry Kan wrote: Does it even make sense to paginate in facet searches, if we require deep paging? Whether it makes sense logically is up to you. Technically deep paging in facets could be implemented in approximately the same way as deep paging in search

Re: facet.offset issue (previosly: [solr 3.4] anomaly during distributed facet query with 102 shards)

2013-04-30 Thread Dmitry Kan
It is logical to use facet pagination for us, if it would work. It just doesn't, probably due the data amount we store and imposed RAM settings. On Tue, Apr 30, 2013 at 10:39 AM, Toke Eskildsen t...@statsbiblioteket.dkwrote: On Mon, 2013-04-29 at 18:22 +0200, Dmitry Kan wrote: Does it

Maximum number of facet query ina single query

2013-04-30 Thread vicky desai
-number-of-facet-query-ina-single-query-tp4059926.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Maximum number of facet query ina single query

2013-04-30 Thread Erik Hatcher
on the number of facet queries I can include in a single query. Also is there any performance hit if I include too many facet queries in a single query Any help would be appreciated -- View this message in context: http://lucene.472066.n3.nabble.com/Maximum-number-of-facet-query-ina-single-query

Re: Maximum number of facet query ina single query

2013-04-30 Thread Otis Gospodnetic
. Also is there any performance hit if I include too many facet queries in a single query Any help would be appreciated -- View this message in context: http://lucene.472066.n3.nabble.com/Maximum-number-of-facet-query-ina-single-query-tp4059926.html Sent from the Solr - User mailing list

Re: [solr 3.4] anomaly during distributed facet query with 102 shards

2013-04-26 Thread Dmitry Kan
Hi, 1. Ruled out possibility to test 4.2.1 router against 3.4 shard farm for obvious reasons (java.lang.RuntimeException: Invalid version (expected 2, but 60) or the data in not in 'javabin' format). 2. Tried jetty, but same result. On Thu, Apr 25, 2013 at 5:16 PM, Dmitry Kan

facet.offset issue (previosly: [solr 3.4] anomaly during distributed facet query with 102 shards)

2013-04-26 Thread Dmitry Kan
Hi list, We have encountered a weird bug related to the facet.offset parameter. In short: the more general query is, that generates lots of hits, the higher the risk of the facet.offset parameter to stop working. In more detail: 1. Since getting all facets we need (facet.limit=1000) from around

Re: [solr 3.4] anomaly during distributed facet query with 102 shards

2013-04-25 Thread Dmitry Kan
a distributed facet query against 102 shards. The problem manifests itself in both the frontend solr (router) and a shard. Each time the request is executed, always different shard is affected (at random, hence the anomaly). The query is: http://router_host:router_port /solr/select?q=testfacet

Re: [solr 3.4] anomaly during distributed facet query with 102 shards

2013-04-25 Thread Yonik Seeley
On Thu, Apr 25, 2013 at 8:32 AM, Dmitry Kan solrexp...@gmail.com wrote: Are there any distrib facet gurus on the list? I would be ready to try sensible ideas, including on the source code level, if someone of you could give me a hand. The Lucene/Solr Revolution conference is coming up next

Re: [solr 3.4] anomaly during distributed facet query with 102 shards

2013-04-25 Thread Dmitry Kan
Thanks, Yonik. Yes, I supposed that. We are in the pre-release phase, so we have the pressure. Solr 3.4. Would setting up 4.2.1 router work with 3.4 shards? On 25 Apr 2013 17:11, Yonik Seeley yo...@lucidworks.com wrote: On Thu, Apr 25, 2013 at 8:32 AM, Dmitry Kan solrexp...@gmail.com wrote:

Fwd: [solr 3.4] anomaly during distributed facet query with 102 shards

2013-04-24 Thread Dmitry Kan
Hello list, We deal with an anomaly when doing a distributed facet query against 102 shards. The problem manifests itself in both the frontend solr (router) and a shard. Each time the request is executed, always different shard is affected (at random, hence the anomaly). The query is: http

Re: Solr 3.6.1 and facet query regular expression

2013-03-17 Thread Erick Erickson
this message in context: http://lucene.472066.n3.nabble.com/Solr-3-6-1-and-facet-query-regular-expression-tp4047628p4047947.html Sent from the Solr - User mailing list archive at Nabble.com.

  1   2   3   >