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)
中科院计算技术研究所 智能信息处理重点实验室(ICT,NKI,GUCAS,Beijing,China)
手机:15120084688
E-Mail:qibaoy...@126.com

Reply via email to