You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Game Now <ga...@gmail.com> on 2005/11/10 09:37:07 UTC

Problem about method Query#query()

Hi all,

I pass some strings to org.apache.nutch.searcher.Query#parse() method,
but I got difference result like below:

parameter string: area:XX, returnedQuery.toString() is: area:XX.
parameter string: subarea:YY, returnedQuery.toString() is: subarea YY.
(Note: the ':' disappearred)
parameter string: publishdate:ZZ, returnedQuery.toString() is:
publishdate ZZ. (Note: the ':' disapperarred too)

So I can't query any content in field subarea & publishdate.

Why it is caused? Is it a bug or something I unknowed cuase it?

Thanks all.

Re: Problem about method Query#query()

Posted by Game Now <ga...@gmail.com>.
Oh yes, I do not create any query filter for subarea and publishdate.

Thank you, Stefan!

On 11/10/05, Stefan Groschupf <sg...@media-style.com> wrote:
> Hi,
> Do you have any query filter installed?
> Stefan
>
> Am 10.11.2005 um 09:37 schrieb Game Now:
>
> > Hi all,
> >
> > I pass some strings to org.apache.nutch.searcher.Query#parse() method,
> > but I got difference result like below:
> >
> > parameter string: area:XX, returnedQuery.toString() is: area:XX.
> > parameter string: subarea:YY, returnedQuery.toString() is: subarea YY.
> > (Note: the ':' disappearred)
> > parameter string: publishdate:ZZ, returnedQuery.toString() is:
> > publishdate ZZ. (Note: the ':' disapperarred too)
> >
> > So I can't query any content in field subarea & publishdate.
> >
> > Why it is caused? Is it a bug or something I unknowed cuase it?
> >
> > Thanks all.
> >
>
>

Re: Problem about method Query#query()

Posted by Stefan Groschupf <sg...@media-style.com>.
Hi,
Do you have any query filter installed?
Stefan

Am 10.11.2005 um 09:37 schrieb Game Now:

> Hi all,
>
> I pass some strings to org.apache.nutch.searcher.Query#parse() method,
> but I got difference result like below:
>
> parameter string: area:XX, returnedQuery.toString() is: area:XX.
> parameter string: subarea:YY, returnedQuery.toString() is: subarea YY.
> (Note: the ':' disappearred)
> parameter string: publishdate:ZZ, returnedQuery.toString() is:
> publishdate ZZ. (Note: the ':' disapperarred too)
>
> So I can't query any content in field subarea & publishdate.
>
> Why it is caused? Is it a bug or something I unknowed cuase it?
>
> Thanks all.
>