lucene-java-user mailing list archives

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


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;

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message