lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [jira] Commented: (LUCENE-2757) Refactor RewriteMethods out of MultiTermQuery
Date Sun, 14 Nov 2010 23:16:24 GMT
On Sun, Nov 14, 2010 at 6:13 PM, Lance Norskog <goksron@gmail.com> wrote:
> Ah! YOU do not rewrite-in-place. Many people with varying levels of craft
> use this software.
>

  /** Expert: called to re-write queries into primitive queries. For example,
   * a PrefixQuery will be rewritten into a BooleanQuery that consists
   * of TermQuerys.
   */
  public Query rewrite(IndexReader reader) throws IOException {

if you aren't an Expert: you shouldn't be rewriting then!

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


Mime
View raw message