There should be a number of these in the example schemas, although perhaps
without indexed=“true” in the fieldType...
DateRanges are pretty cool, but this in the “keep it simple” category, you
might just be able to use plain pdates with the standard [time TO time] syntax.
Although when I try
Achieving the use-case is a must. So if here is an alternative to
using solr.DateRangeField,
I'm willing to use it. What do you mean by "pdate" and what is it?
I'm reading this link on how to use DateRangeField but yet it is not
working for me:
https://lucene.apache.org/solr/guide/6_6/working-wi
I think what Mikhail is asking is whether your use-case would be satisfied
by just indexing a standard pdate rather than a daterange, then querying
by
fq=CC_FILE_DATETIME:[some_date/MONTH TO some_maybe_other_full_date].
With regular pdates, you can use “date math” to round to whatever you want
o
I need both: point in time and range. In both cases, I need to be able to
search between just 2 years, between year-month to year-month-day-time,
etc. So getting my schema right, what and how I index right and the search
syntax right are all important. This is why, in my original post, I shared
Hold on. Do you need a range or just point in time?
On Fri, Jul 5, 2019 at 6:51 PM Steven White wrote:
> Thanks Mikhail. I will read those links and switch over to latest Solr.
>
> Just to be sure, my schema setup and the way I'm indexing the date data are
> not the issue, right?
>
> Steven.
>
Thanks Mikhail. I will read those links and switch over to latest Solr.
Just to be sure, my schema setup and the way I'm indexing the date data are
not the issue, right?
Steven.
On Fri, Jul 5, 2019 at 11:05 AM Mikhail Khludnev wrote:
> Hello,
>
> The indexed daterange value is really narrow,
Hello,
The indexed daterange value is really narrow, it might not be easy to pick
per se. I'm in doubts regarding " in queries. At least TO syntax expects [
]
You can start from these baseline cases
https://github.com/apache/lucene-solr/blob/master/solr/core/src/test/org/apache/solr/schema/DateRan
Hi everyone,
I'm using Solr 7.2.1 but can upgrade if I must.
I setup my schema like so:
And indexed my data like so:
doc.addField("CC_FILE_DATETIME", "2019-02-05T12:04:00Z");;
When I try to search against this field, some search are working, others
are not. Here are examples