ch index for display, 'date',
> 'time'. That is, unless I force the user's javascript to
> generate the time and date from the unix timestamp.
> hmm.
> >
> > Dennis Gearon
> >
> > Signature Warning
> >
> > E
and date from the unix timestamp. hmm.
Dennis Gearon
Signature Warning
EARTH has a Right To Life,
otherwise we all die.
Read 'Hot, Flat, and Crowded'
Laugh at http://www.yert.com/film.php
--- On Wed, 9/8/10, Jonathan Rochkind wrote:
From: Jonathan Rochkind
Subj
: If none of your dates have times, they're all just full days, I'm not sure you
: really need the date type at all.
:
: Convert the date to number-of-days since epoch integer. (Most languages will
: have a way to do this, but I don't know about pure XSLT). Store _that_ in a
: 1.4 'int' field.
//www.yert.com/film.php
--- On Wed, 9/8/10, Jonathan Rochkind wrote:
> From: Jonathan Rochkind
> Subject: Re: How to import data with a different date format
> To: "solr-user@lucene.apache.org"
> Date: Wednesday, September 8, 2010, 11:35 AM
> So the standard
as a Right To Life,
otherwise we all die.
Read 'Hot, Flat, and Crowded'
Laugh at http://www.yert.com/film.php
--- On Wed, 9/8/10, Jonathan Rochkind wrote:
From: Jonathan Rochkind
Subject: Re: How to import data with a different date format
To: "solr-user@lucene.apache.org"
That was a general comment on SOLR string types. Mostly I wanted to
prompt Rico to try some searching before getting too hung up on indexing
refinements. I'd far rather demo a prototype being able to say "Dates don't
work yet, but you can search" than "searching is broken to pieces, but
dates work
Right To Life,
otherwise we all die.
Read 'Hot, Flat, and Crowded'
Laugh at http://www.yert.com/film.php
--- On Wed, 9/8/10, Jonathan Rochkind wrote:
> From: Jonathan Rochkind
> Subject: Re: How to import data with a different date format
> To: "solr-user@lucene.apache
how SOLR-savvy you are, so pardon if this is something you already know. But
lots of people trip up over the "string" field type, which is NOT tokenized.
You usually want "text" unless it's some sort of ID So it might be worth
it to do some searching earlier rather than later
Why wo
YY-MM-DD (which is fairly
easy in XSLT) and then adding T00:00:00Z to it.
Thanks.
- Original Message
From: Erick Erickson
To: solr-user@lucene.apache.org
Sent: Wed, September 8, 2010 12:09:55 PM
Subject: Re: How to import data with a different date format
I think Markus is spot-on giv
1] will not accept it any other way. You could, however,
fool your boss and dump your dates in an ordinary string field. But then you
cannot use some of the nice date features.
[1]:
http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html
-Original message-
From: Rico Lel
Ah, that answers Erick's question. And mine ;)
-Original message-
From: Rico Lelina
Sent: Wed 08-09-2010 19:25
To: solr-user@lucene.apache.org;
Subject: Re: How to import data with a different date format
I'm going with option 1, converting MM/DD/ to -MM-DD (which
l message-
> From: Rico Lelina
> Sent: Wed 08-09-2010 17:36
> To: solr-user@lucene.apache.org;
> Subject: How to import data with a different date format
>
> Hi,
>
> I am attempting to import some of our data into SOLR. I did it the quickest
> way
> I know because I literall
import data with a different date format
Your format (MM/DD/) is not compatible.
-Original message-
From: Rico Lelina
Sent: Wed 08-09-2010 19:03
To: solr-user@lucene.apache.org;
Subject: Re: How to import data with a different date format
That was my first thought :-) But it would be
> Sent: Wed 08-09-2010 17:36
> To: solr-user@lucene.apache.org;
> Subject: How to import data with a different date format
>
> Hi,
>
> I am attempting to import some of our data into SOLR. I did it the quickest
> way
> I know because I literally only have 2 days to import t
Your format (MM/DD/) is not compatible.
-Original message-
From: Rico Lelina
Sent: Wed 08-09-2010 19:03
To: solr-user@lucene.apache.org;
Subject: Re: How to import data with a different date format
That was my first thought :-) But it would be nice to be able to do date
queries
/schema/DateField.html
-Original message-
From: Rico Lelina
Sent: Wed 08-09-2010 17:36
To: solr-user@lucene.apache.org;
Subject: How to import data with a different date format
Hi,
I am attempting to import some of our data into SOLR. I did it the quickest way
I know because I literally
message-
From: Rico Lelina
Sent: Wed 08-09-2010 17:36
To: solr-user@lucene.apache.org;
Subject: How to import data with a different date format
Hi,
I am attempting to import some of our data into SOLR. I did it the quickest way
I know because I literally only have 2 days to import the data and
Hi,
I am attempting to import some of our data into SOLR. I did it the quickest way
I know because I literally only have 2 days to import the data and do some
queries for a proof-of-concept.
So I have this data in XML format and I wrote a short XSLT script to convert it
to the format in solr/e
18 matches
Mail list logo