2 questions regarding phrase query & indexing

2003-02-24 Thread alex wong
My first question I tried to write phrase query below is my attempt when i do a search the search content is in " " but it does not work it any idea what is wrong? I m using the index created by the Lucene Demo PhraseQuery query = new PhraseQuery(); BooleanQuery bQuery = new BooleanQuery(); T

Re: 2 Questions

2002-04-30 Thread Jagadesh Nandasamy
use the same kind of analyzer >for both indexing and searching. A wildcard does not work when used as the >first character in the word- for eg, *og for dog. Also, I believe wildcard >searches are case sensitive. >Aruna. >-Original Message- >From: Joel Bernstein [mailto:

Re: 2 Questions

2002-04-30 Thread Peter Carlson
Lucene does not currently support sorting by fields (such as a date field). This is one of the to do items. I have implemented a sort by date on top of Lucene (not built into Lucene's core), and plan to add it to the contributions section once I get it a little more documented. The method I use

Re: 2 Questions

2002-04-30 Thread Joel Bernstein
t: Tuesday, April 30, 2002 2:11 PM Subject: RE: 2 Questions > > Hi, > #1 Yes. Look at the DateFilter implementation. > #2 Look at the source code for SimpleAnalyzer to see what are the stopwords. > I believe it removes more words when you index. I use StandardAnalyzer that

RE: 2 Questions

2002-04-30 Thread Aruna Raghavan
:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:04 PM To: Lucene Users List Subject: 2 Questions 1)Does Lucine allow you to sort results by date? 2) How do you execute a wildcard search? I have indexed four million documents using the SimpleAnalyzer. When I execute a wildcard search using

2 Questions

2002-04-30 Thread Joel Bernstein
1)Does Lucine allow you to sort results by date? 2) How do you execute a wildcard search? I have indexed four million documents using the SimpleAnalyzer. When I execute a wildcard search using the SimpleAnalyzer the results returned are always 0. Thanks, Joel