RE: How to search number in text field?

2009年12月04日 10:05:27 -0800

Floyd,
How are you constructing the query?
Michael
-----Original Message-----
From: Floyd Wu [mailto:[email protected]] 
Sent: Thursday, December 03, 2009 10:33 PM
To: [email protected]
Subject: How to search number in text field?
Hi all,
When using StandardAnalyzer indexing documents, Lucene.Net did not
search
for numbers in text fields with numbers.
For example, I have built a index which title is 2009123.
Fire the querystring as "title:2009" returns no records and even if
using
title:2009*
There does exist record with title value=2009123;
How can I search this record when my client really want to use 2009 as
keyword for searching?
Thanks
Floyd

Reply via email to