Brian,
You must use the same StandardAnalyzer() for both the Index and the Search.
In short, you must reindex using the new StandardAnalyzer() as well.

-william 

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brian D.
> Brown
> Sent: Thursday, September 13, 2001 1:23 PM
> To: lucene-users
> Subject: RE: [Lucene-users] Searching problem, please help!!
> 
> 
> Hi William,
> 
> Thanks for the reply.  That got me past the initial problem, where it was
> dropping the numerals from the query.  Now however, even though the query
> value is "1", the search fails.  Here's the situation: I have three test
> documents.  In the first, I have the text "Brian1", in the second I have
> "Brian2", and in the third I have "Brian3".  So, I should be able to search
> for "Brian*" and get all three documents, or search for "Brian1" and just
> find a single document.  Searching for "Brian" gives me the expected
> results, but searching for "Brian1" returns no hits.
> 
> Any ideas?
> 
> Thanks,
> Brian
> 
> 
> 

_______________________________________________
Lucene-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lucene-users

Reply via email to