So I got Luke and looked around in my indexes.  I see in the documents tab
that I can select date, enter a date and select Next Term and it will show
the number of results. When looking at a doc that Luke shows for the date
20020508, I see this:

stored,omitNorms<boost:0.0032585221>
stored,omitNorms<contentLength:10537>
stored,omitNorms<digest:dc25d62a159dd3b755c1f38ba12b8da8>
stored,omitNorms<lastModified:1020880811000>
stored,omitNorms<segment:20101005204011>
stored,indexed,tokenized<title:>
stored,omitNorms<tstamp:20101012220543027>
stored,indexed,tokenized<url:http://myserver/docs/A-02/A-02-00039.pdf>

So I tried to do a query with date 20020508:

http://myserver:8080/nutch/search.jsp?lang=en&query=date%3A20020508&hitsPerPage=100

This produces no results, but Luke shows 445 docs.  What am I doing wrong
here?  I have tried MMDDYYYY & YYYYMMDD with no results.
If I search just the date, I get results for those docs that contain the
date in the text, not the timestamp.  So I then tried adding
tstamp:20101012220543027 to the query string, nothing returned.  Can someone
help me out here?  Please.

Thanks.


On Wed, Oct 6, 2010 at 8:03 AM, Bill Arduino <[email protected]> wrote:

> Hi All,
> So I have Nutch set up and running, I indexed +1 million PDF files.
> Searching content works great, I figured out how to sort by date and reverse
> sorts.  I would like to be able to search a date range, but am not sure if
> date is indexed.  I think it must be if I can sort by date, just have no
> idea how to do this.  Also would be nice to see if any other useful fields
> can be used in queries.
> Is there any way to look at the database to tell what I can search on?
> Thanks!
>

Reply via email to