Re:Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread
you'd better tell me the version of lucene.the latest version ikanlyzer2012 support lucene3.6 >IKAnalyzer is not supported in Lucene, right? > >On Thu, Sep 6, 2012 at 10:14 AM, wrote: > >> >> 1.fatjar is a tool for archiving jars/classes together NOTan analyzer. >> 2.smartcn seems not abl

Re:Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread
, Sep 6, 2012 at 10:10 AM, Cheng wrote: > >> Thanks. I will try that. >> >> Another question. How to use my own dictionary instead of the default one >> either in FatJAR or smartcn.jar? >> >> >> On Thu, Sep 6, 2012 at 10:07 AM, 齐保元 wrote: >> >

Re:Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread
1.fatjar is a tool for archiving jars/classes together NOTan analyzer. 2.smartcn seems not able to import your own dictionay,it can only import stop word dict;You can try IKAnalyzer instead. At 2012-09-06 22:10:15,Cheng wrote: >Thanks. I will try that. > >Another question. How to use my own di

Re:How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread
import contrib/smartcn.jar is not complicated.or you can try FatJAR. At 2012-09-06 22:04:58,Cheng wrote: >Hi, > >The default Lucene core jar contains no the smartcn analyzer. How can I >include it into the core jar. > >Thanks!

Re:LongField problem in Lucene4

2012-07-24 Thread
solved! use this code: doc.getField("docID").numericValue(); 在 2012-07-24 20:01:02,"" : >index: > doc.add(new LongField("docID", indexData.getDocId(), > Field.Store.YES)); >search: > doc.get("docID");//here,it gets null > why is the result is null?anyone could he

LongField problem in Lucene4

2012-07-24 Thread
index: doc.add(new LongField("docID", indexData.getDocId(), Field.Store.YES)); search: doc.get("docID");//here,it gets null why is the result is null?anyone could help me out? -- ____ 齐保元(Qi Baoyuan) 中科院计算技

Re: how does lucene deal with intersection?

2012-07-20 Thread
ime-joining-in-lucene > >Mike McCandless > >http://blog.mikemccandless.com > >On Fri, Jul 20, 2012 at 5:58 AM, 齐保元 wrote: >> hi, >>I have two collections:the first collection has documents like >> 'docID,content', and the other collection has documents l

how does lucene deal with intersection?

2012-07-20 Thread
hi, I have two collections:the first collection has documents like 'docID,content', and the other collection has documents like 'docID,ratings'.Is there any fast algorithm to get the intersection between these two collections after search? I canot merge the fields together for particular

many index reader problem

2012-07-15 Thread
becomes large,the JVM throws OOV error:not enough native thread.So,any idea to solve this problem? -- 齐保元(Qi Baoyuan) 中科院计算技术研究所 智能信息处理重点实验室(ICT,NKI,GUCAS,Beijing,China) 手机:15120084688 E-Mail:qibaoy...@126.com

Re:Question about chinese and WildcardQuery

2012-06-27 Thread
maybe you did not enable prefixquery feature. At 2012-06-27 18:19:52,"Paco Avila" wrote: Hi there, I have to index chinese content and I don't get the expected results when searching. It seems that the WildcardQuery does not work properly with the chinese characters. See attached sample code

Re:Re: find meaningful words through Lucene

2012-06-26 Thread
meaningful just means the word is important than others,like keywords/keyphrase. >Please define meaningful. > >-- >Ian. > > >On Tue, Jun 26, 2012 at 10:39 AM, wrote: >> hi, does anyone knows how to extract meaningful words from Lucene index? > >-

Re:Re: Many keywords problem

2012-05-08 Thread
Thanks for you reply,firstly. So many or query is to monitor the term.One scene is that:if i want to know cities of a province and events that happens, I may instantiate the query like "(California or NewYork or SanFransico or SomePlace) and (Pollution or Criminal ... or Alcohol)".