ld for
hour of the day
-Original Message-
From: Erick Erickson
Sent: Wednesday, June 19, 2019 1:34 PM
To: solr-user@lucene.apache.org
Subject: Re: creating date facets
*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.
There are two approaches I m
You might find this useful. If makes creating time series aggregations a
little easier. It uses JSON facets under the covers and is very fast.
https://lucene.apache.org/solr/guide/7_6/stream-source-reference.html#timeseries
Joel Bernstein
http://joelsolr.blogspot.com/
On Wed, Jun 19, 2019 at 1:
There are two approaches I might use, which is really up to you.
- You can do a regex filter. So define your extra fields as you want, then use
a regex charFilter (NOT filter, you want to transform the entire input) to peel
out the separate parts. Then copyfield to each one, each with a differen
Hi all,
I'm trying to have a date field automatically generate some facets of itself,
like hour of the day and hour of the week as examples, when its stored. I was
looking at this tutorial and it deemed to almost do what I wanted
https://nathanfriend.io/2017/06/26/smart-date-searching-with-solr.
: As Solr's standard date faceting does not appear to meet this need, we will
: need to use faceting on arbitrary queries, i.e. by passing multiple values
: for facet.query
correct, facet.date is really just a convincence feature over using
facet.query when you want lots of consistently sized ra
hi all,
We wish to implement date faceting with a 'sliding date range', 'last 24
hours, last week, last month, last year' . Google New currently implements
such faceting when you search for a topic.
As Solr's standard date faceting does not appear to meet this need, we will
need to use facetin
This thread spurred me on enough to follow through with the idea i posted
in SOLR-397 a while back. I've attached a patch to that issue if you want
to try it out...
https://issues.apache.org/jira/browse/SOLR-397
It adds a "facet.date.include" param that supports the following
options: all,
Thanks,
that's great!
Péter
- Original Message -
From: "gwk"
To:
Sent: Wednesday, April 28, 2010 3:05 PM
Subject: Re: date facets without intersections
Hi,
Several possible solutions are discussed in
http://lucene.472066.n3.nabble.com/Date-Faceting-and-Double-Co
ike that:
>
> publication date
> 1000-1099 (2)
> 1100-1199 (1)
> 1200-1299 (14)
>
> It would involve, that
>
>
>
> 3
> 3
> 12
> ..
> should be understand, that between 1000-01-01T00:00:00Z
> and 1100-01-01T00:00:00Z minus 1 sec (or millisec) there
Hi,
Several possible solutions are discussed in
http://lucene.472066.n3.nabble.com/Date-Faceting-and-Double-Counting-td502014.html
Regards,
gwk
On 4/27/2010 10:02 PM, Király Péter wrote:
Dear Solr users,
I am interesting, whether it is possible to get date facets without
intersecting
hat
3
3
12
..
should be understand, that between 1000-01-01T00:00:00Z
and 1100-01-01T00:00:00Z minus 1 sec (or millisec) there are 3 results.
Grant, from your answer it is clear, that currently no way for the date
facets to
behave like this, but I guess, that it may be an alternative solution.
Péter
On Apr 27, 2010, at 4:02 PM, Király Péter wrote:
> Dear Solr users,
>
> I am interesting, whether it is possible to get date facets without
> intersecting
> ranges. Now the documents which stands on boundaries of ranges are covered
> by both ranges. An example:
>
>
Dear Solr users,
I am interesting, whether it is possible to get date facets without
intersecting
ranges. Now the documents which stands on boundaries of ranges are covered
by both ranges. An example:
facet result (from Solr):
3
3
12
If we translate into queries, it means that the number of
In response to myself,
The problem occurs because the date ranges are inclusive. I can fix
this by making facet.date.gap = +1MONTH-1SECOND, but is there a way to
specify that the upper bound is exclusive, rather than inclusive?
Liam
On Wed, 2010-02-24 at 16:54 +1100, Liam O'Boyle wrote:
> After
Hi Liam,
This happens because the range searches for date faceting are inclusive
on both ends. So values on the exact edges of the intervals are counted
twice. You can see some solutions at
http://old.nabble.com/Date-Faceting-and-Double-Counting-td25227846.html
Regards,
gwk
On 2/24/2010 6:
Afternoon,
I have a strange problem occurring with my date faceting. I seem to
have more results in my facets than in my actual result set.
The query filters by date to show results for one year, i.e.
ib_date:[2000-01-01T00:00:00Z TO 2000-12-31T23:59:59Z], then uses date
faceting to break up the
: 1.- I am trying to use date facets but I am facing a trouble. I want to use
: the same field to do 2 facet classification. I want to show the count of the
i'm afraid the date faceting code doesn't support that. the only ways i
can think of to do it would be to make two seperate re
has anyone experienced this problem?
Can't find an explanation...
Thanks in advance
Marc Sturlese wrote:
>
> Hey there,
>
> 1.- I am trying to use date facets but I am facing a trouble. I want to
> use the same field to do 2 facet classification. I want to show the count
Hey there,
1.- I am trying to use date facets but I am facing a trouble. I want to use
the same field to do 2 facet classification. I want to show the count of the
docs of the last week and the counts od the docs of the last month.
What I am doing is:
source_date
NOW/DAY-1MONTH
: i am using faceting in a project and would like to do date faceting with
: facet.date. That works fine, but as well returns dates which have no
: resulting pages underneath, i.e. the facet count equals 0. Is it possible to
: constrain this just to dates for which results exist similar to
: facet
facet.mincount for usual facets? I tried the latter but did not succeed.
Thanks in advance
Raiko
--
View this message in context:
http://www.nabble.com/Constraining-date-facets-tf4315743.html#a12288337
Sent from the Solr - User mailing list archive at Nabble.com.
21 matches
Mail list logo