Re: 2 Questions

2002-04-30 Thread Jagadesh Nandasamy
Hi, I do not totally agree that in lucene *og would not match 'dog'. public ArrayList wildCardSearch(String query) throws Exception { String fieldsToSearch[] = { "fieldOne","path","date","uniqueId" }; ArrayList docList = new ArrayList(); for(int i=0;

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
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 works better for me. If I remember right, searches for alphanumerics did not work w/ Simple A