Alexandre,
Fantastic answer! I think having a start position would work nicely with my
use-case :) Also I would prefer to do the date Math during indexing.
*Question # 1:* Can you please tell me if this doc looks correct (given that
I am not yet bothered about factoring in "year" into my use-case
Alexandre,
How would the data type look like ?
Currently, this is what I have:
http://lucene.472066.n3.nabble.com/Solr-How-to-index-range-pair-fields-tp4224369p4224526.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hello Eric,
Thanks for your reply.
"You can always index to a second field with "date math", or
even pull out the day as you're indexing. "
How would this second field look like ? Can you please provide me an example
for both definition and definition ?
Also, please tell me how would my que
Hi Alexandre,
Thanks for your reply!
I guess these are the links that you were referring to :)
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201212.mbox/%3c1354991310424-4025359.p...@n3.nabble.com%3E
https://wiki.apache.org/solr/SpatialForTimeDurations
https://people.apache.org/~hoss
My scenario is something like this:
I have a students database. I want to query all the students who were either
`absent` or `present` during a particular `date-range`.
For example:
Student "X" was `absent` between dates:
Jan 1, 2015 and Jan 15, 2015
Feb 13, 2015 and Feb 16, 2015
I posted this question on Stackoverflow, but wanted to get this to some
attention of Solr mailing lists as well:
http://stackoverflow.com/questions/29783237/solr-search-with-various-combinations-of-space-hyphen-casing-and-punctuations
Thanks in advance,
Venkat Sudheer Reddy Aedama
--
View this