Hi,

I use Nutch and Solr to crawl a few thousand sites. I would like to limit my queries to recently changed documents. I use Nutch' index-more plugin which stores the Last-Modified HTTP response header in the index as a Long value.

I would like to use a query like this to limit the results to the pages that were changed since yesterday:

    lastModified:[ms(NOW/DAY-1DAY) TO ms()] AND ... regular query ...

This however doesn't work. If I use the following:

    lastModified:[1280811600000 TO 1280898000000] AND ... regular query
    ...

or

    lastModified:[1280811600000 TO ms()] AND ... regular query ...

I do get results.

I use Solr 1.4.1.

Any ideas what's wrong or why this doesn't work?

Thanks,


Jeroen

Reply via email to