how can i search multiple words in line and paragraph?

2012-07-24 Thread neerajshah84
i have requirement that have to search multiple words in paragraph and in line depending upon the situation. how can i do this in lucene. im using Lucene2.9. -- View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html

how to put multiplue proximity search in lucene??

2012-07-24 Thread neerajshah84
how can i put multiplue proximity search in lucene?? example :- i want to search like "fear,dark" in two words and dark adjucent to "tight" and tight,free in 3 words. Query :- fear2dark tight3free how can i do this in lucene?? -- View this message in context: http://lucene.472066.n3.nabb

Re: Lucene 3.6: FieldCache.DEFAULT.getStrings returns array of nulls for some fields

2012-07-24 Thread Oliver Lins
Solved. As written in chapter 5 I have to index the fields if I want to retrieve them using the field cache. Am 24.07.2012 13:10, schrieb Oliver: Hello Everyone, I am developing an application with Lucene 3.6 (Java). I am using a NRTManager to ensure I find the (nearly) newest changes in th

Re: FixedStraightBytesImpl - flushing

2012-07-24 Thread Simon Willnauer
hey SimonM :) On Mon, Jul 23, 2012 at 6:37 PM, Simon McDuff wrote: > > Hello, (LUCENE 4.0.0-ALPHA) > > We are using the DocValues features (very nice). cool! > > We are using FixedBytesRef. > > In that specific case, we were wondering why does it flush at the end (when > we commit) ? the reas

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) 中科院计算技术研究所 智能信息处理重点实验室(ICT,

Lucene 3.6: FieldCache.DEFAULT.getStrings returns array of nulls for some fields

2012-07-24 Thread Oliver Lins
Hello Everyone, I am developing an application with Lucene 3.6 (Java). I am using a NRTManager to ensure I find the (nearly) newest changes in the index. I use BooleanQuery containing NumericRangeQuery as BooleanClause(s) (I use 4 of these BooleanClause(s)). With my custom Sort implementation e