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
, 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:
>>
>
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
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!
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
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)
中科院计算技
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
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
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
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
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?
>
>-
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)".
12 matches
Mail list logo