lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: What is the best Analyzer and Parser for this type of question?
Date Mon, 15 Nov 2010 22:20:03 GMT
First question:  What's the default operator? Out of
the box, its OR. See QueryParser.setDefaultOperator...

Second, how are you forming your query? Just running
it at the query parser? Query.toString() may be your friend.

Best
Erick

On Mon, Nov 15, 2010 at 2:20 PM, Celso Fontes <celsowm@gmail.com> wrote:

> I am using this code, with SnowBall and TopDocScore
> the code: http://pastebin.com/3X3gbpXE
>
> Example of Question:
> - What is the role of PrnP in mad cow disease?
>
> I am running in 11.638 documents and the result is 10410 docs for this
> question (lowwwwww precision)
> How optimize this?
>
> Thanks,
> Celso.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message