: A particular document can have several date windows. : Give a specific date, only return those documents where that date : falls within at least one of those windows.
: Also, note that there are multiple windows here for a single : document, we can't just search between min start and max end. This can tehoreticaly be done using a custom varient of PhraseQuery and "parallel fields" where you have a range_start field and a range_end field and the positions of the dates in each field "line up" so that you can tell which start corrisponds with which end. I mentioned this idea (which actual came from on off hand comment Doug made about PhraseQuery at last year's ApacheCon US) in this Solr thread when someone asked a similar question... http://www.nabble.com/One-item%2C-multiple-fields%2C-and-range-queries-tf2969183.html#a8404600 ..i have never tried implementing this in practice. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]