weixsong / elasticlunr.js

Based on lunr.js, but more flexible and customized.
http://elasticlunr.com
MIT License
2.02k stars 147 forks source link

Search index by time #125

Open westsuhanic opened 3 years ago

westsuhanic commented 3 years ago

Hello:

Thank you for your work.

When I build an index I include a time field. The reason for this is that I want to implement a search using a time stamp. This would allow users to search for documents inserted in an index on, for example, Tuesday Mar.10.2021. I can create the index with the time field however I cannot search over the time field. Could you please tell me if what I want to do is possible? If so, what am I doing wrong?

thank you,

west suhanic