Re: Searching Special Characters

2005-11-16 Thread Lucene User
As we have a very large index, I'm interested in knowing what others do, before I commit to doing the below. If I do go down that route, I assume I use a StandardAnalyzer once again? In a Test, I did the following... public class TestLuceneIndexCreateAndIndex extends TestCase { public void i

Re: Searching Special Characters

2005-11-15 Thread Daniel Noll
Mordo, Aviran (EXP N-NANNATEK) wrote: You can use your own Analyzer to support special characters. Just process the special characters in your analyzer That's one option. The "correct" solution would be, since this is presumably HTML or XML, replacing entities with their actual string valu

RE: Searching Special Characters

2005-11-15 Thread Mordo, Aviran (EXP N-NANNATEK)
Subject: Searching Special Characters Hi Our index contains articles with special characters. For instance, the string P&O is indexed as P&O. The correct entity codes are indexed for all the special characters we use. My question is that a typical user searching for the above will enter

Searching Special Characters

2005-11-15 Thread Lucene User
Hi Our index contains articles with special characters. For instance, the string P&O is indexed as P&O. The correct entity codes are indexed for all the special characters we use. My question is that a typical user searching for the above will enter P&O but that will not match P&O. I know I coul