On 5/15/2017 11:31 PM, Noriyuki TAKEI wrote:
> I update some fields by Solj Atomic Update.But in
> particular case, an error occurred.
>
> When I try to set the value "2017-01-01" to date filed
> by Solrj Atomic Update,the following error message appears.
If the field is using the TrieDateField
Chris,
mucho thanks. The
solr.RegexReplaceProcessorFactory
looks like what I need. What a fantastic search engine this is!
thanks again,
Scott
On 8/10/2015 5:21 PM, Chris Hostetter wrote:
:
:
:
: Most documents have a correctly formatted date string and I would like to keep
: that data
:
:
:
: Most documents have a correctly formatted date string and I would like to keep
: that data available for search on the date field.
...
: I realize it is complaining because the date string isn't matching the
: data_driven_schema file. How can I coerce it into allowing the non-st
Thanks Erick :)
With Regards
Aman Tandon
On Tue, Sep 2, 2014 at 8:28 PM, Erick Erickson
wrote:
> Hmmm, not quite, I think you meant:
>
> datefield:[NOW/DAY TO NOW/DAY+1DAY]
>
> You're particularly interested in using date math if
> if you use these in filter query clauses, see:
> http://search
Hmmm, not quite, I think you meant:
datefield:[NOW/DAY TO NOW/DAY+1DAY]
You're particularly interested in using date math if
if you use these in filter query clauses, see:
http://searchhub.org/2012/02/23/date-math-now-and-filter-queries/
Best,
Erick
On Tue, Sep 2, 2014 at 3:59 AM, François Sch
How about :
datefield:[NOW-1DAY/DAY TO *]
François
On Sep 2, 2014, at 6:54 AM, Aman Tandon wrote:
> Hi,
>
> I did it using this, fq=datefield:[2014-09-01T23:59:59Z TO
> 2014-09-02T23:59:59Z].
> Correct me if i am wrong.
>
> Is there any way to find this using the NOW?
>
>
> With Re
Hi,
I did it using this, fq=datefield:[2014-09-01T23:59:59Z TO
2014-09-02T23:59:59Z].
Correct me if i am wrong.
Is there any way to find this using the NOW?
With Regards
Aman Tandon
On Tue, Sep 2, 2014 at 4:08 PM, Aman Tandon wrote:
> Hi,
>
> I am working on date and i want to find all thos
Yep. One alternative is something I just found out about;
ParseDateFieldUpdateProcessorFactory
Best,
Erick
On Thu, Feb 27, 2014 at 3:12 PM, solr2020 wrote:
> Hi,
>
> We are using 'solr.TrieDateField' type for indexing a date column in Solr.
> By default triedate will index date columns as U
: And DateFormatTransformer does not take timezone into account when it
: parses the text. A bit of a stuck situation.
Gah! .. i'm sorry about my previous response pointing to the wiki I
realize now that I missread the docs and replied to quickly.
Alex's response appears correct -- evident
; Gesendet: Dienstag, 21. Mai 2013 22:45
> An: solr-user@lucene.apache.org
> Betreff: Re: Date Field
>
> This depends on what you use. If you are using SolrJ, it takes the date
> itself. Other clients, you may need to ensure you use Localized formatter
> with UTC TimeZone when you generat
at 4:39 PM, Benjamin Kern wrote:
> How can I convert the UTC Time?
>
> -Ursprüngliche Nachricht-
> Von: Alexandre Rafalovitch [mailto:arafa...@gmail.com]
> Gesendet: Dienstag, 21. Mai 2013 22:37
> An: solr-user@lucene.apache.org
> Betreff: Re: Date Field
>
> The dat
2:37
> An: solr-user@lucene.apache.org
> Betreff: Re: Date Field
>
> The date field is stored in UTC, absolute time. You need to convert to and
> from UTC in the client/middleware as you see fit.
>
> Regards,
>Alex.
> Personal blog: http://blog.outerthoughts.c
The date field is stored in UTC, absolute time. You need to convert to
and from UTC in the client/middleware as you see fit.
Regards,
Alex.
Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events f
Did you check here:
http://lucene.apache.org/solr/4_3_0/solr-core/org/apache/solr/schema/DateField.html
2013/5/21 Benjamin Kern
> Hi all,
>
> how can I set the time zone for a date field?
>
>
>
>
>
> Thanks
>
>
I think you want "indexed='true' and stored='false'".
If the field is not marked "required=true" then, yes, there can be
"null" fields.
BTW, to search for documents where a value is not set, do this:
*:* -field:* TO *]
On Tue, Oct 6, 2009 at 1:46 AM, Avlesh Singh wrote:
>>
>> I am defining
>
> I am defining a field:
>
>
indexed="false" and stored="false"? really? This field is as good as
nothing. What would you use it for?
Can I have a null for such a field?
>
Yes you can. Moreover, as you have sortMissingLast="true" specified in your
field type definition, documents having null va
Hi Gérard,
Concerning the issue with the ":" character you can use the
ClientUtils.escapeQueryChars() method to handle special characters that are
part of the query syntax.
The complete list of special characters is in the source code.
check out the following resources
org/apache/solr/client/so
: the field like "2009-05-01T12:45:32Z". However when I'm searching the user
: don't always give an exact date. for instance they give "2008-05-01" to get
whatever date your users give you, you'll need to format it in the full
ISO format in order to query on it (ie: 2008-05-01 into
2008-05-01T0
Thanks for the answer.
However we don't have strong performance issue (for now) and it that case,
how do you face query where time part is missing ?
On Tue, Sep 8, 2009 at 17:44, Silent Surfer wrote:
> Hi,
>
> If you are still not went live already, I would suggest to use the long
> instead of d
Hi,
If you are still not went live already, I would suggest to use the long instead
of date field. According to our testing, search based on date fields are very
slow when compared to search based on long field.
You can use System.getTimeInMillis() to get the time
When showing it to the user, a
: solr.DateField compatible format. I wrote a new
: definition inside the solrconfig.xml, which creates
: eg. 1991-01-01T00:00:01Z from the input '[c1991.]' string.
is only supported when the class of the is
TextField ... it would be nice if it worked with any other field type (i
think it wou
he question is: is there a solution, in which I can
"preprocess" the inputs, or it is only doable only on the client's
side.
Péter
From: "Grant Ingersoll"
Subject: Re: date field type problem
What's the exception?
On Sep 2, 2009, at 3:00 AM, Peter Kiraly wrote:
What's the exception?
On Sep 2, 2009, at 3:00 AM, Peter Kiraly wrote:
Hi Solr users,
I have a lots of dates from a library catalog in not
solr.DateField compatible format. I wrote a new
definition inside the solrconfig.xml, which creates
eg. 1991-01-01T00:00:01Z from the input '[c1991.]' stri
My bad it was an id10t error.
On Fri, May 15, 2009 at 8:21 PM, Otis Gospodnetic <
otis_gospodne...@yahoo.com> wrote:
>
> Jack,
>
>
> Which bug are you referring to? Last time I played with function queries
> with date fields things worked as expected. If there is/was a known bug, it
> must be i
Jack,
Which bug are you referring to? Last time I played with function queries with
date fields things worked as expected. If there is/was a known bug, it must be
in JIRA...
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Jack Godwin
: We have big problem searching out solr index and filtering for the date.
: Let me give you an example: there is a record with date 30.04.2008,
: 15:32:00. My query contains "+date:[20080101T12:00:00Z TO
: 20080915T13:59:00Z]" but the record is not found. But when I search
: "+date:[20071231T
The guys who really know will be able to provide you much better
feedback if you include:
your field definitions
probably your locale settings.
And have you looked with Luke at your index to see what
the data actually looks like for that field in that record? Is it
possible that the date is gettin
27 matches
Mail list logo