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:
>
> Schema fields:
>
> products,
> sold_pr
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.
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
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
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
Ok,
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 ...
—/Yago Riveiro
On Tue, Dec 22, 2015 at 1:46 AM, Yonik Seeley wrote:
> On Mon, Dec 21, 2015 at 6:56 PM, Yago Riv
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 use docValues for the actual field be
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
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?
On Thu, Nov 19, 2015 at 2:50 PM, xavi jmlucjav wrote:
> Hi,
>
> I am trying to get some faceting with the
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
I found the bug …
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” ...
—/Yago Riveiro
On Thu, Nov 12, 2015 at 4:44 PM, Yago Riveiro
wrote:
> Solr 5.3.1
> —/Yago Riveiro
> On Thu, Nov 12, 20
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 the json facet API.
>>
>> Same query u
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:
>
> curl -s http://node1:8983/solr/metr
18 matches
Mail list logo