Hi,
This came up before, a while ago:
http://www.nabble.com/searching-for-C%2B%2B-to18093942.html#a18093942
I don't think there is an easier way than modifying the standard
analyzer. As I suggested in that earlier thread, I would make the
analyzer recognize token patterns that consist of wor
to be detailed, I implemented a ftp search engine for campus students. I
have handle many different words including chinese words, as a result I
can't only use whitespaceanalyzer. My analyzer is now like this:
StandardTokenizer tokenStream = new StandardTokenizer(reader,
replaceInvalidAcronym)
王巍巍,您好!
WhitespaceAnalyzer can work.
=== 2009-04-09 15:15:14 您在来信中写道:===
>I want to make my lucene can search word like c++, c#, how can i modify my
>analyzer to achieve this goal?
>
>--
>王巍巍(Weiwei Wang)
>Department of Computer Science
>Gulou Campus of Nanjing University
>Nanj
I want to make my lucene can search word like c++, c#, how can i modify my
analyzer to achieve this goal?
--
王巍巍(Weiwei Wang)
Department of Computer Science
Gulou Campus of Nanjing University
Nanjing, P.R.China, 210093
Mobile: 86-13913310569
MSN: ww.wang...@gmail.com
Homepage: http://cs.nju.edu