0

I'm using Solr with dovecot for full text search. Everything working fine but I want to index date or date time. I tried several ways but I can't find the correct field name to index.

Few types that I've tried so far.

   <field name="Date" type="long" indexed="true" stored="true" />
   <field name="atime" type="long" indexed="true" stored="true" />
   <field name="ctime" type="long" indexed="true" stored="true" />
   <field name="mtime" type="long" indexed="true" stored="true" />
   <field name="internaldate" type="long" indexed="true" stored="true" />

I also tried those with DateRangeField, TrieDateField, String, Text & long

I looked dovecot documentation but can't find anything.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.