You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Justin <cr...@yahoo.com> on 2010/03/09 21:57:51 UTC

Uninitialized in IndexSearcher

Should these be explicitly initialized to false?


  private boolean fieldSortDoTrackScores;
  private boolean fieldSortDoMaxScore;


      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Uninitialized in IndexSearcher

Posted by Michael McCandless <lu...@mikemccandless.com>.
Java does that.

Mike

On Tue, Mar 9, 2010 at 3:57 PM, Justin <cr...@yahoo.com> wrote:
> Should these be explicitly initialized to false?
>
>
>  private boolean fieldSortDoTrackScores;
>  private boolean fieldSortDoMaxScore;
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org