lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc...@nitwit.de
Subject Storing numbers
Date Fri, 05 Mar 2004 11:15:40 GMT
Hi!

I want to store numbers (id) in my index:

	long id = 1069421083284;
	doc.add(Field.UnStored("in", String.valueOf(id)));	

But searching for "id:1069421083284" doesn't return any hits.

Well, did I misunderstand something? UnStored is the number is stored but not 
index (analyzed), isn't it? Anyway, Field.Text doesn't work either.

TIA
Timo

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


Mime
View raw message