How to sort Array field

2021-09-28 Thread sambasivarao giddaluri
Hi All, Below is documents where we have display field as array where sometimes it has single value and sometime multivalue field . We want to sort on display but getting error "can not sort on multivalued field" . Thought of creating a copy field as string but this will cause issue when

Null pointer exception in simple streaming call

2021-09-28 Thread Webster Homer
I am trying to use the streaming API to output a file from one of our solrcloud collections. It seems like this should be simple but it keeps throwing an exception. I tried to use the Solrconsole UI and got farther than with Java or CURL. In the console if I give it a query with a limited

[ANNOUNCE] Apache Solr 8.10.0 released

2021-09-28 Thread Timothy Potter
The Solr PMC is pleased to announce the release of Apache Solr 8.10.0. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database

Need clarification on Graph Query Parser

2021-09-28 Thread naina gupta
Hi Team, I am trying to use the graph Query parser feature of solr. Below is my sample Dataset: [image: image.png] I am using below query to fetch results for all the employees under employee id : 2 Query : {!graph from=_Manager_Id_facet to=_Employee_Id_facet}Employee_Id:"2" I do get

Unable to setup file based spell check

2021-09-28 Thread Swapnadeep Mondal
I am using the following configuration to implement file-based spell check but it is not showing any suggestions. { "name":"spellcheck", "class":"solr.SpellCheckComponent", "queryAnalyzerFieldType":"text_general", "spellchecker":{ "name":"default",

solr autocomplete failed with "Invalid reference"

2021-09-28 Thread Crist Ye
Hi, I'm looking for possible solutions to my problems related with autocomplete feature: https://stackoverflow.com/questions/69296258/solr-autocomplete-failed-with-invalid-reference Thanks in advance for your help!

Re: about filter cache in case of collapse

2021-09-28 Thread Joel Bernstein
Cache is set to false internally for the CollapsingQParserPlugin. So you don't need to specify cache=false. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Sep 28, 2021 at 5:57 AM Taisuke Miyazaki wrote: > Hi, > > Will filter cache be created if I specify fq={!collapse field=key1}? > >

about filter cache in case of collapse

2021-09-28 Thread Taisuke Miyazaki
Hi, Will filter cache be created if I specify fq={!collapse field=key1}? I read in the documentation that if cache=false and cost=100, and the query implements the PostFilter interface, it will not be cached, but will be used to filter documents after matching the filter query.

Re: The relationship between filter cache and date math syntax

2021-09-28 Thread Taisuke Miyazaki
Thank you. My problem has been solved. Taisuke. 2021年9月28日(火) 16:01 Jan Høydahl : > What gets cached is a long value representing a timestamp. > So all filter queries need to use the exact same rounding, e.g. NOW/DAY, > else they won't hit the cache. > > Jan > > > 28. sep. 2021 kl. 03:37 skrev

Re: The relationship between filter cache and date math syntax

2021-09-28 Thread Jan Høydahl
What gets cached is a long value representing a timestamp. So all filter queries need to use the exact same rounding, e.g. NOW/DAY, else they won't hit the cache. Jan > 28. sep. 2021 kl. 03:37 skrev Taisuke Miyazaki : > > Thanks, Markus. > > However, what I was wondering was whether the cache