Hard to tell without seeing any code. Perhaps numbers are being removed from the query string during search. Make sure the same or at least "compatible" Analyzer is used during both indexing and querying. Grab the code from Lucene in Action .... hm, lucenebook.com may be down at the moment, but that's where you can get the code normally. The code includes some classes that let you run a query string through a set of Analyzers and see how each of them behaves and what it does to a query.
Otis ----- Original Message ---- From: "To, Xavier" <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wednesday, January 31, 2007 12:21:27 AM Subject: Problem with a search engine Hi, I recently started an internship and I've been asked to fix their search engine so numbers are searched. At first, I thought it was the Analyzer that wasn't working right, but we're using StandardAnalyzer and the numbers are indexed (I checked with Lukeall). Then I thought they are not tokenized during the search, but they are. They just seem to be ignored for some reason. Did anyone experienced something similar ? If so, how can I fix this ? It's probably something that would jump in my face if it was alive, but I just can't see it. Can anyone help me ? It would be very much appreciated. Xavier Tô Stagiaire Développement - Maintenance & Évolution AXA Canada Tech 2020, rue University, bureau 700 Montréal(Québec)H3A 2A5 Tél. : (514) 282-6817, poste 2224 Téléc. : (514) 282-6017 Courriel : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> _____ "Ce message est confidentiel, à l'usage exclusif du destinataire ci-dessus et son contenu ne représente en aucun cas un engagement de la part de AXA, sauf en cas de stipulation expresse et par écrit de la part de AXA. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur." "This e-mail message is confidential, for the exclusive use of the addressee and its contents shall not constitute a commitment by AXA, except as otherwise specifically provided in writing by AXA. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]