: Manifold is sending solr the datetime as milliseconds expired after
: 1-1-1970.

Hmm... are you certain there is no way to change ManifoldCF to send the 
date in ISO-8601 canonical so Solr can handle it natively?

: I've tried setting several date.formats in the extraction handler but I

Are you sure ExtractingRequestHandler is what ManifoldCF expects to send 
the documents to? I thought ManifoldCF took care of all the parsing and 
send in structured documents?

If it is ExtractingRequestHandler you need to use, then i think you are 
missunderstanding hte point of date.formats...

:       <lst name="date.formats">         
:       <str>yyyy-MM-dd</str>
:       <str>yyyy-MM-dd'T'HH:mm:ss.SSS'Z'</str>
:     </lst>

...my understanidng is that you should be configuring date.formats with 
the formats you want ExtractingRequestHandler to use to *parse* your raw 
input -- ie: yyyy-MM-dd is what you specify if the raw values in your 
document will look like 2001-12-30...

http://wiki.apache.org/solr/ExtractingRequestHandler

Unfortunately, i don't believe SimpleDateFormat has a pattern for 
specifying "millis since epoch" ... so you may need to use an 
UpdateRequestProcessor for this.

I would sanity check on the ManifoldCF user list that there isn't 
already an easier way to do this on the client side.


-Hoss

Reply via email to