Re: how to search string with words

2006-11-21 Thread spinergywmy
Hi Erick, I did take a look at the link that u provided me, and I have try myself but I have no return reesult. My search string is "third party license readme" Below r the codes that I wrote, please point me out where I have done wrong. readerA = IndexReader.open(DsConstant.ind

Re: how to search string with words

2006-11-21 Thread spinergywmy
Hi, Thanks Martin. I have one question, what does that slop does within span near query? What is the difference between 0 and 1? I have seen the source from Lucene, one of the example putting slop as 4. Could u pls explain that to me. Thanks. regards, Wooi Meng -- View this message in contex

Re: how to search string with words

2006-11-21 Thread Martin Braun
spinergywmy schrieb: > Hi Erick, > >I did take a look at the link that u provided me, and I have try myself > but I have no return reesult. > >My search string is "third party license readme" > hhm with a quick look I would suggest that you have to split the string into individual terms,

Re: how to search string with words

2006-11-21 Thread spinergywmy
Hi guys, I have this problem searching all fields (metadata) using SpanFirstQuery. My scenario is if I just searching on one thing using SpanFirstQuery is not a problem. However, if I would have to search everything than I will not have any result return. For example, I search ba