So I'm really liking the json facets in terms of performance and features but
I have the following questions:
- Can we use solr 7.6's facet.matches?
- Is there a way to only return the matched values in the facet? (we are
having problems with multivalued fields)
- Do we have any way to filter the
Thanks Mikhail
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
One can not apply range query syntax over function. {!frange} query parser
can handle that.
On Sat, Dec 8, 2018 at 2:45 PM Venu wrote:
> I am using solr6.6. I am trying to use parameter Dereferencing for json
> facets.
>
> There can be multiple prices for all the documents(assume sp, price1,
> p
I am using solr6.6. I am trying to use parameter Dereferencing for json
facets.
There can be multiple prices for all the documents(assume sp, price1,
price2, price3, price4 are the prices for all the documents).
Based on the query, I have to fetch the minimum value among the combination
of those
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 the Streaming
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_d", rows="25000"),
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
Only for the records, I will describe here what I did to solve this
problem. This is specific for those who are using python/requests and Solr
json facet api.
I would like to ask another question regarding json facet.
>
> With GET method, i was used to use many fq on the same query, ea
Follow the instructions here:
http://lucene.apache.org/solr/community.html#mailing-lists-irc. You
must use the _exact_ same e-mail as you used to subscribe.
If the initial try doesn't work and following the suggestions at the
"problems" link doesn't work for you, let us know. But note you need
to
unsubscribe
On Tue, May 8, 2018 at 9:19 PM, Kojo wrote:
> Everything working now. The code is not that clean and I am rewriting, so I
> don't know exactly what was wrong, but something malformed.
>
> I would like to ask another question regarding json facet.
>
> With GET method, i was used to use
Everything working now. The code is not that clean and I am rewriting, so I
don't know exactly what was wrong, but something malformed.
I would like to ask another question regarding json facet.
With GET method, i was used to use many fq on the same query, each one with
it's own tag. It was worki
Looks like some sort of proxy server inbetween the python client and
solr server.
I would still check first if the output from the python client is
correctly escaped/encoded HTTP.
One easy way is to use netcat to pretend to be a server:
$ nc -l 8983
And then send point the python client at that an
Thank you all. I tried escaping but still not working
Yonik, I am using Python Requests. It works if my fq is a single word, even
if I use double quotes on this single word without escaping.
This is the HTTP response:
response.content
'\n\n400 Bad
Request\n\nBad Request\nYour browser sent
a req
On Tue, May 8, 2018 at 1:36 PM, Kojo wrote:
> If I tag the fq query and I query for a simple word it works fine too. But
> if query a multi word with space in the middle it breaks:
Most likely the full query is not getting to Solr because of an HTTP
protocol error (i.e. the request is not encoded
On 5/8/2018 11:36 AM, Kojo wrote:
> If I tag the fq query and I query for a simple word it works fine too. But
> if query a multi word with space in the middle it breaks:
>
> {'q':'*:*', 'fl': '*',
> 'fq':'{!tag=city_colaboration_tag}city_colaboration:"College
> Station"', 'json.facet': '{city_cola
Single backslash escaping works for me.
On Tue, May 8, 2018 at 8:36 PM, Kojo wrote:
> Hello,
> recently I have changed the way I get facet data from Solr. I was using GET
> method on request but due to the limit of the query I changed to POST
> method.
>
> Bellow is a sample of the data I send t
Hello,
recently I have changed the way I get facet data from Solr. I was using GET
method on request but due to the limit of the query I changed to POST
method.
Bellow is a sample of the data I send to Solr, in order to get facets. But
there is something here that I donĀ“t understand.
If I do not
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 feature.
Is it produc
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
On Mon, 2016-04-11 at 13:31 +0430, Ali Nazemian wrote:
> http: //10.102.1.5: 8983/solr/edgeIndex/select?q=*%3A*&fq=stat_owner_id:
> 122952&rows=0&wt=json&indent=true&facet=true&json.facet=%7bresult: %7b
> type: range,
> field: stat_date,
> start: 146027158386,
> end: 1460271583864,
> gap: 1
> %
peres,
> > Hi,
> > I am going to use Solr JSON facet range on a date filed which is stored
> as
> > long milis. Unfortunately I got java heap space exception no matter how
> > much memory assigned to Solr Java heap! I already test that with 2g heap
> > space fo
On Sun, Apr 10, 2016 at 3:47 AM, Ali Nazemian wrote:
> Dear all Solr users/developeres,
> Hi,
> I am going to use Solr JSON facet range on a date filed which is stored as
> long milis. Unfortunately I got java heap space exception no matter how
> much memory assigned to Solr Java
Dear all Solr users/developeres,
Hi,
I am going to use Solr JSON facet range on a date filed which is stored as
long milis. Unfortunately I got java heap space exception no matter how
much memory assigned to Solr Java heap! I already test that with 2g heap
space for Solr core with 50k documents
24 matches
Mail list logo