lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: question about reserved words in lucene
Date Thu, 26 Mar 2009 05:53:05 GMT
Adapt the tokenizer in the analyzer you use to handle specially cases like
this.  You will  probably have to change the syntax for required words.

2009/3/25 王巍巍 <ww.wang.cs@gmail.com>

> I designed a campus ftp search engine. As some special words like + - are
> reserved lucene words. When user enters a keyword "c++", the result will be
> all about "c" not "c++".
> Could anybody tell me how can i fix this problem?
>
> --
> 王巍巍(Weiwei Wang)
> Department of Computer Science
> Gulou Campus of Nanjing University
> Nanjing, P.R.China, 210093
>
> Mobile: 86-13913310569
> MSN: ww.wang.cs@gmail.com
> Homepage: http://cs.nju.edu.cn/rl/weiweiwang
>



-- 
Ted Dunning, CTO
DeepDyve

111 West Evelyn Ave. Ste. 202
Sunnyvale, CA 94086
www.deepdyve.com
408-773-0110 ext. 738
858-414-0013 (m)
408-773-0220 (fax)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message