lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ts01 <ven...@clearwellsystems.com>
Subject Conversion from Lucene 1.4.3 API to 2.2.0 API.
Date Thu, 06 Dec 2007 20:23:06 GMT

Hi,

With Lucene 1.4.3, we had used this constructor for Field. What is its
equivalent in Lucene 2.2.0?

  /** Constructs a String-valued Field that is tokenized and indexed,
    and is stored in the index, for return with hits. The tokens are
    generated from the reader */
  public static final Field Text(String name, String value, Reader reader) {
      Field aField = Text(name, value);
      aField.readerValue = reader;
      return aField;
  }

Thanks
-- 
View this message in context: http://www.nabble.com/Conversion-from-Lucene-1.4.3-API-to-2.2.0-API.-tf4958346.html#a14200220
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Mime
View raw message