Thanks for the quick answers.
i have gone thru the presentation and thats what i was tilting towards using
dynamic fields i just want to run down an example so thats its clear about
how to approach this issue. 
<entry start-date=1-sept-2013>
    Sept content : Honda is releasing the car this month 
<entry>
<entry start-date=1-dec-2013>
    Dec content : Toyota is releasing the car this month 
<entry>
After adding dynamic fields like *_entryDate and *_entryText my solr doc
will look something like this.

<date name="2013-09-01T00:00:00Z_entryDate">2013-09-01T00:00:00Z</date>
<str name="2013-09-01T0:00:00Z_entryText">Sept content : Honda is releasing
the car this month </str>

<date name="2013-12-01T00:00:00Z_entryDate">2013-12-01T00:00:00Z</date>
<str name="2013-12-01T00:00:00Z_entryText">Dec content : Toyota is releasing
the car this month </str>

if someone searches for a query something like
*_entryDate:[* TO NOW] AND *_entryText:Toyota the results wont show up
toyota in the search results.

the only disadvantage we have with this approach is we might end up with a
lot of runtime fields since we have thousands of entries which might be time
bound in our cms. 
i might also do some more investigation to see if we can handle this at
index time to index data as time comes some scheduler of something, because
the above approach might solve the issue but may make the queries very slow.


Thanks



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Doing-time-sensitive-search-in-solr-tp4092273p4092763.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to