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
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
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
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_
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
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
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
>
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
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
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
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
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
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
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
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
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
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.
�
�
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
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
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
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:
>
>
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
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
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
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.
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
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.
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
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
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
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
> &
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
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
/markers-clustering.html
On 28 October 2016 at 09:05, Никита Веневитин
wrote:
> Hi!
> Is it possible to use JSON facet API to get heatmaps?
>
Hi!
Is it possible to use JSON facet API to get heatmaps?
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.
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
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
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
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:
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,
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
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
"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
ies":{ //level 3
> "leaf-fields":[
> "date",
> "author",
> "text",
> "sentiment"],
> "keywords":{/
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
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
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
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
t; >"count":19,
>>> >"filter_by_child_type":{
>>> > "count":686,
>>> > "top_keywords_text":{
>>> >"buckets":[{
>>> >"val":"enron&q
"count":57,
>> >"top_terms_by_doc":9},
>> > {
>> >"val":"california",
>> >"count":22,
>> >"top_terms_by_doc":13},
>> > {
>&g
rms_by_doc":5},
> > {
> >"val":"energy",
> > "count":11,
> >"top_terms_by_doc":5},
> > {
> >"val":"na",
> >"c
ount":11,
> "top_terms_by_doc":5},
> {
> "val":"mckinsey",
> "count":10,
> "top_terms_by_doc":1},
> {
> "val":"socal",
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-and-Json-facet-API-tp4242461p4242650.html
Sent from the Solr - User mailing list archive at Nabble.com.
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.
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={
>
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: {
>
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
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
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
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
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
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
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
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
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
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
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:
>
>
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: {
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:
> >
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
>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
, 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=&
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
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
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
90 matches
Mail list logo