lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy <>
Subject How to search by numbers
Date Mon, 19 Apr 2010 17:40:28 GMT

Hi, I have indexed the following two fields:
org_id - NOT_ANALYZEDorg_name - ANALYZED
However when I try to search by org_id, for example, 12345, I get no hits.  
I am using the StandardAnalyzer to index and search.  
And I am using:  Query query = queryParser.parse("org_id:12345");
Any ideas?  Thx 		 	   		  
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message