lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi" <>
Subject :how to add int fileds to lucene:
Date Mon, 12 Dec 2005 13:10:56 GMT


I am trying to add some fields to lucene and I heard that adding int values
are going to give much faster retrieval than adding to String values. So I
want to add int values to document . But 


document.add(Field.Text("Candidate", objResultSet.getString("ROW_ID")));


document.add(Field.Text("days",days) );

document.add(Field.Text("contents", objReader));



Days are int but it is giving error . Please suggest me with the steps to
add and search those integer fields 






Ravi Kumar Jaladanki

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