JSON facet API - can't reference 'val' field

2019-04-24 Thread Mel Mason
Hi, Is there any way to reference the 'val' value of a bucket in the JSON facet API? I have a set of records that all have collection tags. I want to facet on those collections and sort them by a function that uses the number of search documents in that collection and the total

Limit facet terms based on a substring using the JSON facet API

2019-01-29 Thread Tom Van Cuyck
Hi In the old Solr facet API there are the facet.contains and facet.conains.ignoreCase parameters to limit the facet values to those terms containing the specified substring. Is there an equivalent option in the JSON facet API? Or is there a way to obtain the same behavior with the JSON API? I

Re: Median in Solr json facet api

2018-11-15 Thread Anil
Thanks Toke and Joel. On Wed, 14 Nov 2018 at 19:47, Joel Bernstein wrote: > The JSON facet API uses the t-digest approach to estimate the percentiles. > > You can also use Solr Math Expressions to take a random sample from a field > and estimate the median from the sample. Here is t

Re: Median in Solr json facet api

2018-11-14 Thread Joel Bernstein
The JSON facet API uses the t-digest approach to estimate the percentiles. You can also use Solr Math Expressions to take a random sample from a field and estimate the median from the sample. Here is the Streaming Expression: let(a=random(collection1, q="*:*", fl="filesize_

Re: Median in Solr json facet api

2018-11-14 Thread Toke Eskildsen
On Wed, 2018-11-14 at 17:53 +0530, Anil wrote: > I don;t see median aggregation in JSON facet api documentation. It's the 50 percentile: https://lucene.apache.org/solr/guide/7_5/json-facet-api.html#metrics-example - Toke Eskildsen, Royal Danish Library

Median in Solr json facet api

2018-11-14 Thread Anil
HI, Good Morning. I don;t see median aggregation in JSON facet api documentation. Could you please point me to the documentation to create custom json facet apis ? Thanks. Regards, Anil

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-23 Thread Antelmo Aguilar
Hi Yonik, Good to hear you were able to reproduce it. Looking forward for the fix. Will use the version of Solr that works in the meantime. -Antelmo On Thu, Feb 22, 2018 at 5:10 PM, Yonik Seeley wrote: > I've reproduced the issue and opened > https://issues.apache.org/jira/browse/SOLR-12020 >

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-22 Thread Yonik Seeley
I've reproduced the issue and opened https://issues.apache.org/jira/browse/SOLR-12020 -Yonik On Thu, Feb 22, 2018 at 11:03 AM, Yonik Seeley wrote: > Thanks Antelmo, I'm trying to reproduce this now. > -Yonik > > > On Mon, Feb 19, 2018 at 10:13 AM, Antelmo Aguilar wrote: >> Hi all, >> >> I was

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-22 Thread Yonik Seeley
Thanks Antelmo, I'm trying to reproduce this now. -Yonik On Mon, Feb 19, 2018 at 10:13 AM, Antelmo Aguilar wrote: > Hi all, > > I was wondering if the information I sent is sufficient to look into the > issue. Let me know if you need anything else from me please. > > Thanks, > Antelmo > > On Th

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-19 Thread Antelmo Aguilar
Hi all, I was wondering if the information I sent is sufficient to look into the issue. Let me know if you need anything else from me please. Thanks, Antelmo On Thu, Feb 15, 2018 at 1:56 PM, Antelmo Aguilar wrote: > Hi, > > Here are two pastebins. The first is the full complete response with

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-15 Thread Antelmo Aguilar
Hi, Here are two pastebins. The first is the full complete response with the search parameters used. The second is the stack trace from the logs: https://pastebin.com/rsHvKK63 https://pastebin.com/8amxacAj I am not using any custom code or plugins with the Solr instance. Please let me know i

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-14 Thread Yonik Seeley
Could you provide the full stack trace containing "Invalid Date String" and the full request that causes it? Are you using any custom code/plugins in Solr? -Yonik On Mon, Feb 12, 2018 at 4:55 PM, Antelmo Aguilar wrote: > Hi, > > I was using the following part of a query to get facet buckets so

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-14 Thread Antelmo Aguilar
Hello, I just wanted to follow up on this issue I am having in case it got lost. I have been trying to figure this out and so far the only solution I can find is using the older version. If you need more details from me, please let me know. I would really appreciate any help. Best, Antelmo On

Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-12 Thread Antelmo Aguilar
Hi, I was using the following part of a query to get facet buckets so that I can use the information in the buckets for some post-processing: "json": "{\"filter\":[\"bundle:pop_sample\",\"has_abundance_data_b:true\",\"has_geodata:true\",\"${project}\"],\"facet\":{\"term\":{\"type\":\"terms\",\"li

Solr 6.6 - JSON Facet API - Unexpected counts returned for child focused facets

2017-10-24 Thread Damien Hawes
Suppose I have a set of documents that look likes this: [ { "id": "1", "post_time": "2017-10-24T13:00:00Z", "category": "information technology", "url": "https://www.mywebsite.com";, "blog_post": "solr", "is_root_document": true, "_childD

Solr json facet API contains option

2017-10-20 Thread kenny
Hi, I don't seem to find a 'contains' (with or without ignorecase) in the available descriptions of the JSON facet API. Is that because there is none? Or is it just not adequately described. For example in the official ref guide for 6.6 or 7.0 there is no mention of this

JSON facet API: exclusive lower bound, inclusive upper bound

2017-06-16 Thread chris
The docs for the JSON facet API tell us that the default ranges are inclusive of the lower bounds and exclusive of the upper bounds. �I'd like to do the opposite (exclusive lower, inclusive upper), but I can't figure out how to combine the 'include' parameters to make it work. � �

JSON Facet API : numBuckets and count clarification

2017-05-23 Thread Varun Thacker
Here is my current understanding of how these counts work numBuckets : Is supposed to tell the user how many unique buckets were seen in the facet calculation. Given that we currently don't do refinements this number can be equal or less than the actual number of unique buckets count : The total

Help reviewing json facet api query

2017-05-16 Thread Mandar Deshpande
Hi, Could anyone please help reviewing the below json facet api query. After updating to json facet api we are getting strange results in which the count (uniqueCount) for the first facet bucket is correct and the remaining are either 0 or incorrect. Below are the both the solr query urls

JSON facet API issue

2017-05-11 Thread Mandar Deshpande
Dear Solr users, We are upgrading from solr 4.x to solr 6.5 and one important part of it is to implement json API in our application. Our facet query uses group.facet, in order to support this we have used facet aggregation function 'unique(myField)' to get the unique count. After doing t

Re: JSON Facet API Virtual Field Support

2017-03-24 Thread Yonik Seeley
On Fri, Mar 24, 2017 at 7:52 PM, Furkan KAMACI wrote: > Hi, > > I test JSON Facet API of Solr. Is it possible to create a virtual field > which is generated by using existing fields at response and supports > elementary arithmetic operations? > > Example: > >

JSON Facet API Virtual Field Support

2017-03-24 Thread Furkan KAMACI
Hi, I test JSON Facet API of Solr. Is it possible to create a virtual field which is generated by using existing fields at response and supports elementary arithmetic operations? Example: Schema fields: products, sold_products, date I want to run a date range facet and add another field to

JSON Facet API - Range Query - Missing field parameter NPE

2017-02-24 Thread Kevin Risden
One of my colleagues ran into this testing the JSON Facet API. A malformed JSON Facet API range query seems to get a NPE and then devolves into saying no live servers to handle the request. It looks like the FacetRangeProcessor should check the inputs before trying to getField. Does this seem

json facet API response size

2017-02-13 Thread ahmed darweesh
I tried migrating our facet search from the old facet method to the new json facet API, but there is one problem in the size of the returned response. for example one query response size is around 1.2 MB while the same query using the old facet method produces a response of around 160 KB. Is

Re: json facet api and facet.threads

2017-02-11 Thread SOLR4189
Did you get answer? I'm interesting also. -- View this message in context: http://lucene.472066.n3.nabble.com/json-facet-api-and-facet-threads-tp4306444p4319929.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr json facet api

2017-01-05 Thread kshitij tyagi
Hi, We were earlier using solr 4.0 and now moved to solr 5.2: I am debugging queries and seeing that most of the time in queries are taken by solr facet queries. I have read about solr json facet api in solr 5 on wards, can anyone help me out to understand the difference between these both

Re: SolrJ doesn't work with Json facet api

2017-01-05 Thread Sandeep Khanzode
e: Thanks for your response. We definitely use solrQuery.set("json.facet", "the json query here"); Btw we are using Solr 5.2.1. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-doesn-t-work-with-Json-facet-api-tp4299867p4312459.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrJ doesn't work with Json facet api

2017-01-04 Thread Jeffery Yuan
Thanks for your response. We definitely use solrQuery.set("json.facet", "the json query here"); Btw we are using Solr 5.2.1. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-doesn-t-work-with-Json-facet-api-tp4299867p4312459.html Sent from the

JSON facet API with date range and TZ parameter

2016-12-24 Thread ncoult
We are looking at switching over our facets from the old style to the new JSON facet API, which looks really cool. The old style facets supported the “TZ” option for range facets on date fields, which allows, for example, a facet gap of “+1DAY” to count days correctly in a local time zone. I

json facet api and facet.threads

2016-11-18 Thread Michael Aleythe, Sternwald
Hi Everybody, can anyone point me in the right direction for using "facet.threads" with the json faceting-api? Does it only work if terms facets are exclusively used in the query? Best regards Michael Aleythe Java Entwickler | STERNWALD SYSTEMS GMBH

Re: Heatmap in JSON facet API

2016-11-02 Thread Никита Веневитин
tps://cwiki.apache.org/confluence/x/ZYDxAQ";>Heatmap Faceting, > > but I would like to get same results using JSON facet API > > > > 2016-10-30 15:24 GMT+03:00 GW : > > > > > If we are talking about the same kind of heat maps you might want to > look > &

Re: Heatmap in JSON facet API

2016-11-01 Thread David Smiley
I plan on adding this in the near future... hopefully for Solr 6.4. On Mon, Oct 31, 2016 at 7:06 AM Никита Веневитин wrote: > I've built query as described in https://cwiki.apache.org/confluence/x/ZYDxAQ";>Heatmap Faceting, > but I would like to get same results using JSON fa

Re: Heatmap in JSON facet API

2016-10-31 Thread Никита Веневитин
I've built query as described in https://cwiki.apache.org/confluence/x/ZYDxAQ";>Heatmap Faceting, but I would like to get same results using JSON facet API 2016-10-30 15:24 GMT+03:00 GW : > If we are talking about the same kind of heat maps you might want to look > at the T

Re: Heatmap in JSON facet API

2016-10-30 Thread GW
/markers-clustering.html On 28 October 2016 at 09:05, Никита Веневитин wrote: > Hi! > Is it possible to use JSON facet API to get heatmaps? >

Heatmap in JSON facet API

2016-10-28 Thread Никита Веневитин
Hi! Is it possible to use JSON facet API to get heatmaps?

Re: SolrJ doesn't work with Json facet api

2016-10-05 Thread shamik
You can try something like : query.add("json.facet", your_json_facet_query); -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-doesn-t-work-with-Json-facet-api-tp4299867p4299888.html Sent from the Solr - User mailing list archive at Nabble.com.

SolrJ doesn't work with Json facet api

2016-10-05 Thread Jeffery Yuan
It seems that Solr returns different format when use Json facet api compared with the old syntax Thus solrj facet related api will not work when use Json facet api rsp.getFacetField("myFeild") is null The Json API is easier to use, its response is cleaner. But it would be even better i

Re: JSON Facet API

2016-09-21 Thread Sandeep Khanzode
Thanks a lot, Bram. I will try that ...  SRK On Wednesday, September 21, 2016 11:57 AM, Bram Van Dam wrote: On 21/09/16 05:40, Sandeep Khanzode wrote: > How can I specify JSON Facets in SolrJ? The below facet query for example ... SolrQuery query = new SolrQuery(); query.add("json.fac

Re: JSON Facet API

2016-09-20 Thread Bram Van Dam
On 21/09/16 05:40, Sandeep Khanzode wrote: > How can I specify JSON Facets in SolrJ? The below facet query for example ... SolrQuery query = new SolrQuery(); query.add("json.facet", jsonStringGoesHere); - Bram

JSON Facet API

2016-09-20 Thread Sandeep Khanzode
Hello, How can I specify JSON Facets in SolrJ? The below facet query for example ...  &json.facet={  facet1: {  type: query,  q: "field1:value1 AND field2:value2",  facet:  {  facet1sub1: { type: query,  q: "{!field f=mydate op=Intersects}2016-09-08T08:00:00",  facet:  {  id:  {  type:

Json Facet Api Sort with Functional Query

2016-09-06 Thread peppeink
Hi, i'm trying to run a query with sort using json facet api like this http://localhost:8983/solr/tip_active/select? q=*:* json.facet= { "tipsters":{ "type":"terms", "field":"sceneName", "numBuckets":true,

Re[4]: Block Join faceting on intermediate levels with JSON Facet API (might be related to block join rollups & SOLR-8998)

2016-05-02 Thread Alisa Z .
Step 3: q:"path:*comments*keywords" >This selects a subset of level3 and level4 documents with keywords >(Note, in the future this should be doable as an additional filter in >the domain spec, w/o an additional sub-facet level) > >Step 4: >Facet on the text field of t

Re: Re[2]: Block Join faceting on intermediate levels with JSON Facet API (might be related to block join rollups & SOLR-8998)

2016-04-22 Thread Yonik Seeley
Facet on the text field of those level3 and level4 keyword docs. For each bucket, also find the unique number of values in the "2.blog-posts.comments-id" field on those documents. "Without seeing what you indexed, my guess is that the issue is that the "2.blog-posts.comments-i

Re[2]: Block Join faceting on intermediate levels with JSON Facet API (might be related to block join rollups & SOLR-8998)

2016-04-22 Thread Alisa Z .
    "count":1,     "counts_by_comments":0}] So unless I messed something up... or the field name does not look "canonical" (but it was fast to generate and  it is accepted in a normal query  http://localhost:8985/solr/solr_nesting_unique/q

Re: Block Join faceting on intermediate levels with JSON Facet API (might be related to block join rollups & SOLR-8998)

2016-04-22 Thread Yonik Seeley
ies":{ //level 3 > "leaf-fields":[ > "date", > "author", > "text", > "sentiment"], > "keywords":{/

Re: pivoting with json facet api

2016-04-21 Thread Yangrui Guo
Thanks so much! Are you also contributing to Solr development? On Thu, Apr 21, 2016 at 3:33 PM, Alisa Z. wrote: > Hi Yangrui, > > I have summarized some experiments about Solr nesting capabilities > (however, it does not include precisely pivoting yet more of faceting up to > parents and down t

Re: pivoting with json facet api

2016-04-21 Thread Alisa Z .
Hi Yangrui, I have summarized some experiments about Solr nesting capabilities (however, it does not include precisely pivoting yet more of faceting up to parents and down to children with some statictics) so maybe you could find an idea there: https://medium.com/@alisazhila/solr-s-nesting-o

pivoting with json facet api

2016-04-20 Thread Yangrui Guo
Hi I am trying to facet results on my nest documents. The solr document did not say much on how to pivot with json api with nest documents. Could someone show me some examples? Thanks very much. Yangrui

Block Join faceting on intermediate levels with JSON Facet API (might be related to block join rollups & SOLR-8998)

2016-04-20 Thread Alisa Z .
comments":1}] Am I writing the query wrong? By the way, Block Join Faceting works fine for this: bjqfacet?q={!parent%20which=path:2.blog-posts.comments}path:*.comments*keywords&rows=0&facet=true&child.facet.field=text&wt=json&indent=true {   "response":{"numFound":3,"start":0,"docs":[]   },   "facet_counts":{     "facet_queries":{},     "facet_fields":{   "text":[     "Elasticsearch",2,     "Solr",3,  //correct result     "Solr 5.5",1,     "feature",1]},     "facet_dates":{},     "facet_ranges":{},     "facet_intervals":{},     "facet_heatmaps":{}}} But we've already discussed that it returns too much stuff: no way to put limits or order by counts :(  That's why I want to see whether it's posible to make JSON Facet API straight. Thank you in advance! -- Alisa Zhila

Re[5]: [nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-29 Thread Alisa Z .
t; >"count":19, >>> >"filter_by_child_type":{ >>> > "count":686, >>> > "top_keywords_text":{ >>> >"buckets":[{ >>> >"val":"enron&q

Re[4]: [nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-29 Thread Alisa Z .
"count":57, >> >"top_terms_by_doc":9}, >> > { >> >"val":"california", >> >"count":22, >> >"top_terms_by_doc":13}, >> > { >&g

Re: Re[2]: [nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-29 Thread Mikhail Khludnev
rms_by_doc":5}, > > { > >"val":"energy", > > "count":11, > >"top_terms_by_doc":5}, > > { > >"val":"na", > >"c

Re[2]: [nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-29 Thread Alisa Z .
ount":11, >    "top_terms_by_doc":5}, >      { >    "val":"mckinsey", >    "count":10, >    "top_terms_by_doc":1}, >  { >    "val":"socal", >  

Re: [nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-28 Thread Alisa Z .
ey",     "count":10,     "top_terms_by_doc":1},   {     "val":"socal",     "count":10,     "top_terms_by_doc":4}] Nice, but I want them to be ordered by "top_terms_by_doc" frequencies

[nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-28 Thread Alisa Z .
blogs on the behavior is much appreciated.   Verbally the query is as follows: "Find top 10 keywords for all documents with "california" in email subject line" Here is the query with responses:  Json Facet API   curl http://localhost:8985/solr/my_collection/quer

Re: JSON FACET API - multiselect

2016-03-09 Thread Jay Potharaju
Actually there is a problem with my data..found my error. Thanks On Wed, Mar 9, 2016 at 9:24 AM, Jay Potharaju wrote: > Hi, > I am using solr 5.4 and testing the multi select JSON facet feature. > When I select 1 value the results are the same as number of counts for the > facet. But when I sel

JSON FACET API - multiselect

2016-03-09 Thread Jay Potharaju
Hi, I am using solr 5.4 and testing the multi select JSON facet feature. When I select 1 value the results are the same as number of counts for the facet. But when I select more than 1 facet the number of results returned are not correct. *Single Facet selected* fq: [ "{!tag=FIRSTLETTER}facet_firs

SolrJ + JSON Facet API

2016-02-24 Thread Georg Sorst
Hi list! Does SolrJ already wrap the new JSON Facet API? I couldn't find any info about this. If not, what's the best way for a Java client to build and send requests when you want to use the JSON Facets? On a side note, since the JSON Facet API uses POST I will not be able to see the

Re: Json facet api method stream

2015-12-22 Thread Yago Riveiro
Here a live example [yago@dev-1 ~]$ time curl -g "http://dev-1:8983/solr/collection-perf/query?rows=0&q=date:[20150101%20TO%2020150115]&json.facet={label:{type:terms,field:url_encoded,limit:-1,sort:{index:asc},facet:{user:'hll(user_id)'}}}" > dump   % Total    % Received % Xferd  Average

Re: Json facet api method stream

2015-12-22 Thread Yago Riveiro
The collection is a 12 shards distributed to 12 physical nodes (24G heap each, 32G RAM) (no replication). all cache are disable in solrconfig.xml, The rate of indexing is about 2000 docs/s, this transform cache useless  At the time of the perf test the amount of docs were 34M (now is 54 but t

Re: Json facet api method stream

2015-12-22 Thread Yonik Seeley
On Tue, Dec 22, 2015 at 6:06 AM, Yago Riveiro wrote: > I’m surprised with the difference of speed between DV and stream, the same > query (aggregate 7M unique keys) with stream method takes 21s and with DV is > about 3 minutes ... Wow - is this a "real" DV field, or one that was built on-demand

Re: Json facet api method stream

2015-12-22 Thread Yago Riveiro
ago Riveiro wrote: >> The json facet API method "stream" uses the docvalues internally for do the >> aggregation on the fly? >> >> I wan't to know if using this method justifies have the docvalues configured >> in schema. > It won't use docValues fo

Re: Json facet api method stream

2015-12-21 Thread Yonik Seeley
On Mon, Dec 21, 2015 at 6:56 PM, Yago Riveiro wrote: > The json facet API method "stream" uses the docvalues internally for do the > aggregation on the fly? > > I wan't to know if using this method justifies have the docvalues configured > in schema. It won't

Json facet api method stream

2015-12-21 Thread Yago Riveiro
Hi, The json facet API method "stream" uses the docvalues internally for do the aggregation on the fly? I wan't to know if using this method justifies have the docvalues configured in schema. - Best regards -- View this message in context: http://lucene.472066.n3.nabble

Re: How Json facet API works with domains and facet functions?

2015-12-11 Thread Yago Riveiro
For this specific example, you don't even need the block-join support > in facets since the base domain (query+filters) will already be the > child docs you want to facet over. > -Yonik > On Fri, Dec 11, 2015 at 11:46 AM, Yago Riveiro wrote: >> Hi, >> >> How the j

Re: How Json facet API works with domains and facet functions?

2015-12-11 Thread Yonik Seeley
omain (query+filters) will already be the child docs you want to facet over. -Yonik On Fri, Dec 11, 2015 at 11:46 AM, Yago Riveiro wrote: > Hi, > > How the json facet api works with domains and facet functions? > > I try to google some info and I do not find nothing useful. > &g

How Json facet API works with domains and facet functions?

2015-12-11 Thread Yago Riveiro
Hi, How the json facet api works with domains and facet functions? I try to google some info and I do not find nothing useful. How can do a query that find all parents that match a clause (a date) and calculate the avg price of all of children that have property X? Following yonik's

Re: Facet count mismatch between solr simple facet and Json facet API.

2015-11-29 Thread rks_lucene
-and-Json-facet-API-tp4242461p4242650.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet count mismatch between solr simple facet and Json facet API.

2015-11-29 Thread Vishnu Mishra
Yes we are using distributed search using shard approach. -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-count-mismatch-between-solr-simple-facet-and-Json-facet-API-tp4242461p4242646.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet count mismatch between solr simple facet and Json facet API.

2015-11-27 Thread Yonik Seeley
t;true" docValues="true" /> > > And then using solr json facet API for faceting. But it seems that json > facet API produce less and incorrect result counts than simple solr facet. > The json facet request which I am doing is as below: > > json.facet={ >

Re: Facet count mismatch between solr simple facet and Json facet API.

2015-11-27 Thread Mikhail Khludnev
alues="true" /> > > And then using solr json facet API for faceting. But it seems that json > facet API produce less and incorrect result counts than simple solr facet. > The json facet request which I am doing is as below: > > json.facet={ > TitleFacet: { >

Re: Facet count mismatch between solr simple facet and Json facet API.

2015-11-27 Thread Alexandre Rafalovitch
http://www.solr-start.com/ On 27 November 2015 at 10:11, Vishnu Mishra wrote: > Hi > > I am using solr 5.3.1 in my application. I have indexed field named given > below : > > multiValued="true" docValues="true" /> > > And then using solr json facet

Facet count mismatch between solr simple facet and Json facet API.

2015-11-27 Thread Vishnu Mishra
Hi I am using solr 5.3.1 in my application. I have indexed field named given below : And then using solr json facet API for faceting. But it seems that json facet API produce less and incorrect result counts than simple solr facet. The json facet request which I am doing is as below

Re: Json Facet api on nested doc

2015-11-24 Thread xavi jmlucjav
Mikahil, Yonik thanks for having a look. This was my bad all the time...I forgot I was on 5.2.1 instead of 5.3.1 on this setup!! It seems some things were not there yet on 5.2.1, I just upgraded to 5.3.1 and my query works perfectly. Although I do agree with Mikhail the docs on this feature are a

Re: Json Facet api on nested doc

2015-11-23 Thread Mikhail Khludnev
Indeed! Now it works for me too. JSON Facets seems powerful, but not friendly to me. Yonik, thanks for example! Xavi, I took json docs from http://yonik.com/solr-nested-objects/ and just doubled book2_c3 Here is what I have with json.facet={catz: {type:terms,field:cat_s, facet:{ starz:{type:ter

Re: Json Facet api on nested doc

2015-11-22 Thread Yonik Seeley
On Sun, Nov 22, 2015 at 3:10 PM, Mikhail Khludnev wrote: > Hello, > > I also played with json.facet, but couldn't achieve the desired result too. > > Yonik, Alessandro, > Do you think it's a new feature or it can be achieved with the current > implementation? Not sure if I'm misunderstanding the

Re: Json Facet api on nested doc

2015-11-22 Thread Mikhail Khludnev
some faceting with the json facet api on nested doc, but > I am having issues. Solr 5.3.1. > > This query gest the buckets numbers ok: > > curl http://shost:8983/solr/collection1/query -d 'q=*:*&rows=0& > json.facet={ >yearly-s

Json Facet api on nested doc

2015-11-19 Thread xavi jmlucjav
Hi, I am trying to get some faceting with the json facet api on nested doc, but I am having issues. Solr 5.3.1. This query gest the buckets numbers ok: curl http://shost:8983/solr/collection1/query -d 'q=*:*&rows=0& json.facet={ ye

Re: Json facet api NullPointerException

2015-11-12 Thread Yonik Seeley
On Thu, Nov 12, 2015 at 11:48 AM, Yago Riveiro wrote: > In my query I have > sort: index, > > And should be > > sort:{index:desc|asc} > > I think that the json parser should raise a “json parsing error” ... Yeah, either that or "index" should be synonymous with "index asc". -Yonik

Re: Json facet api NullPointerException

2015-11-12 Thread Yago Riveiro
u, Nov 12, 2015 at 4:21 PM, Yonik Seeley wrote: >> Thanks for the report Yago, >> What version is this? >> -Yonik >> On Thu, Nov 12, 2015 at 10:53 AM, Yago Riveiro >> wrote: >>> Hi, >>> >>> I'm hitting this NullPointerException using

Re: Json facet api NullPointerException

2015-11-12 Thread Yago Riveiro
Solr 5.3.1 —/Yago Riveiro On Thu, Nov 12, 2015 at 4:21 PM, Yonik Seeley wrote: > Thanks for the report Yago, > What version is this? > -Yonik > On Thu, Nov 12, 2015 at 10:53 AM, Yago Riveiro wrote: >> Hi, >> >> I'm hitting this NullPointerException using t

Re: Json facet api NullPointerException

2015-11-12 Thread Yonik Seeley
Thanks for the report Yago, What version is this? -Yonik On Thu, Nov 12, 2015 at 10:53 AM, Yago Riveiro wrote: > Hi, > > I'm hitting this NullPointerException using the json facet API. > > Same query using Facet component is working. > > Json facet query: > >

Json facet api NullPointerException

2015-11-12 Thread Yago Riveiro
Hi, I'm hitting this NullPointerException using the json facet API. Same query using Facet component is working. Json facet query: curl -s http://node1:8983/solr/metrics/query -d 'q=datetime:[2015-10-01T00:00:00Z TO 2015-10-04T23:59:59Z]&rows=0&json.facet={ urls: {

Re: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Mikhail Khludnev
it might be a bug. > > > > > > Regards, > >Alex. > > > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > > http://www.solr-start.com/ > > > > > > On 8 September 2015 at 17:22, Curtis Fehr wrote: > >

RE: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Curtis Fehr
lyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 8 September 2015 at 17:22, Curtis Fehr wrote: >> Hello! >> >> I'm attempting to facet a multivalue int field that has docvalues >> enabled. Using the new json fac

Re: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Alexandre Rafalovitch
>Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 8 September 2015 at 17:22, Curtis Fehr wrote: >> Hello! >> >> I'm attempting to facet a multivalue int field that has docvalue

RE: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Curtis Fehr
, Curtis Fehr wrote: > Hello! > > I'm attempting to facet a multivalue int field that has docvalues > enabled. Using the new json facet api, running 5.3.0, I get the > exception here: http://pastebin.com/xNaqGJRf > > Here's the relevant config: > docValues=&

Re: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Alexandre Rafalovitch
Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 8 September 2015 at 17:22, Curtis Fehr wrote: > Hello! > > I'm attempting to facet a multivalue int field that has docvalues enabled. > Using the new json facet api, running 5.3.0, I get

Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Curtis Fehr
Hello! I'm attempting to facet a multivalue int field that has docvalues enabled. Using the new json facet api, running 5.3.0, I get the exception here: http://pastebin.com/xNaqGJRf Here's the relevant config: Here's my facet: json.facet={"pv-44":{"type&quo

Newly added json facet api returning inconsistent results in distributed mode

2015-04-23 Thread Vamsi Krishna Devabathini
Hi, I am new to the solr community and I am sorry if this is not the right medium to bring the issue to notice. I have found following issue : https://issues.apache.org/jira/browse/SOLR-7452 as mentioned in the subject and raised a ticket for the same. Any help is appreciated! Sent from my