I also used bin/nutch org.apache.nutch.searcher.Query to test it, here is the result:
Parsed: date:"20040101-20050412" **********X in DateQueryFilter:\20040101-20050412\************************ *********************************************************** Translated: +date:[20040101 TO 20050412] Seems it is working. But why not on the webpages? Eric. On 4/13/05, Eric Money <[EMAIL PROTECTED]> wrote: > I tried "date:20030101-20051231" on the web interface but nothing returned, > I am sure I've included query-(more) in xml, and the sites I crawled ranged > from years. What should I do? > > Eric. > > On 4/13/05, John X <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 12, 2005 at 11:29:50PM -0400, Eric Money wrote: > > > 1. I find query-more plugin supports ranges query of date, but I don't > > > know how to use it, > > > I typed date[2005.01.01-2005.04.11] and date:2005.01.01-2005.04.11, > > > neither works for > > > me, both returns 0 results. What is the correct way of using this query? > > > > From ./CHANGES.txt file in svn: > > > > 2. Added support for "date:" in queries. Last-Modified is indexed. > > Search results are restricted by lower and upper date (inclusive) > > as date:yyyymmdd-yyyymmdd. For example, date:20040101-20041231 > > only returns pages with Last-Modified in year 2004. > > (John Xing, 20050122) > > > > > > > > 2. Can I just modify the "date" field to "age" and support my age > > > query? But should I also > > > update IndexFilter.java? Seems query-more plugin did not do this? What > > > else should I > > > do for my age query? Thank you for your comments. > > > > Plugin query-more pairs with plugin index-more. > > > > John > > > > > > > > Eric. > > > > > __________________________________________ > > http://www.neasys.com - A Good Place to Be > > Come to visit us today! > > >
