I had a similar need in an old solr project. I was able to handle it with this
configuration in solrconfig.xml:
lastModified
realLastModified
realLastModified
The logic is basically: Copy the default value (lastModified here) into the
target field (realLastModified). If the target
Ah, I never thought about grouping on date ranges, and nesting the faceting
like that. Interesting! I managed to do a quick test query that seems to give
me what I want:
{
"query": "*:*",
"filter": "+category:* +modified:[NOW/DAY-60DAYS TO *]",
"limit": 0,
"facet": {
Hi Emir,
But that page says:
"The field that is being collapsed on. The field must be a single valued
String, Int or Float"
And the field in question is a multi value field. And when I try using
fq={!collapse field=myField} I get:
"org.apache.solr.search.SyntaxError: Collapsing not supported
Hi,
Say we have a bunch of documents in Solr, and each document has a multi value
field "category". Now I would like to get the N most recently used categories,
ordered so that the most recently used category comes first and then in falling
order.
My simplistic solution to this would be:
1.
Could be caused by garbage collection in the jvm.
https://wiki.apache.org/solr/SolrPerformanceProblems
Go down to the segment called “GC pause problems”
/Jimi
Sent from my iPhone
On 11 Jan 2019, at 05:05, Gael Jourdan-Weil
mailto:gael.jourdan-w...@kelkoogroup.com>>
wrote:
Hello,
We are
Unless someone else has a cleaver solution, maybe one option could be to add a
new field that simply contains the collection id. Then you could do a facet
query on that field to get the count per collection.
/Jimi
-Ursprungligt meddelande-
Från: Zheng Lin Edwin Yeo
Skickat: den 10
imi
>
> -Ursprungligt meddelande-
> Från: Charlie Hull
> Skickat: den 8 januari 2019 15:55
> Till: solr-user@lucene.apache.org
> Ämne: Re: Tool to format the solr query for easier reading?
>
> On 08/01/2019 04:33, Hullegård, Jimi wrote:
>> Hi,
>
> Hi
: Re: Tool to format the solr query for easier reading?
On 08/01/2019 04:33, Hullegård, Jimi wrote:
> Hi,
Hi Jimi,
There are some suggestions in part 4 of my recent blog:
http://www.flax.co.uk/blog/2018/11/15/defining-relevance-engineering-part-4-tools/
Cheers
Charlie
>
> I often fi
Hi,
I often find myself having to analyze an already existing solr query. But when
the number of clauses and/or number of nested parentheses reach a certain level
I can no longer grasp what the query is about by just a quick glance. Sometimes
I can look at the code generating the query, but it
#ms-function
You can use it in the field list too.
Regards,
Alex.
On Mon, 12 Nov 2018 at 09:12, Hullegård, Jimi
wrote:
>
> Hi,
>
> Maybe I have been working too little with Solr lately, but I'm stuck on a
> very simple problem (in my mind), and need some help.
>
> How can
Hi,
Maybe I have been working too little with Solr lately, but I'm stuck on a very
simple problem (in my mind), and need some help.
How can I include the result of a date calculation in the field list?
For example, let's say that the documents in my index contains the date field
'deadline'.
11 matches
Mail list logo