Re: DocumentWriter, StopFilter should use HashMap... (patch)
Just found the rest of the thread. I'll shut up now ;) sv On Sun, 14 Mar 2004, Stephane James Vaucher wrote: Back from a weeks' vacation, so this reply is a little late, maybe out of order as well ;). Comment inline: On Tue, 9 Mar 2004, Kevin A. Burton wrote: Doug Cutting wrote: Erik Hatcher wrote: Well, one issue you didn't consider is changing a public method signature. I will make this change, but leave the Hashtable signature method there. I suppose we could change the signature to use a Map instead, but I believe there are some issues with doing something like this if you do not recompile your own source code against a new Lucene JAR so I will simply provide another signature too. This would no longer compile with the change Kevin proposes. To make things back-compatible we must: 1. Keep but deprectate StopFilter(Hashtable) constructor; 2. Keep but deprecate StopFilter.makeStopTable(String[]); 3. Add a new constructor: StopFilter(HashMap); 4. Add a new method: StopFilter.makeStopMap(String[]); Why impose implementation details in the constructor? Shouldn't the constructor use a Map (not a HashMap), a Set, or a String array? sv Does that make sense? This patch and attachment take care of this problem... It does make this class more complex than it needs to be... but 1/2 of the methods are deprecated. Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Date Range and proximity search
hi all, I tried the demo, and Date range and proximity search did not return anything. are these two features functioning at all? tia Philip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Date Range and proximity search
To be honest, I'm way out of the loop of the demo and needs to be re-written. It is on my to-do list! But, date range and proximity searches most definitely work. Can you be more specific about what you index and how you searched? Perhaps even a working test case? Erik On Mar 14, 2004, at 3:52 PM, redpineseed wrote: hi all, I tried the demo, and Date range and proximity search did not return anything. are these two features functioning at all? tia Philip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TO Erik Hatcher Re: Date Range and proximity search
hi Erik, thanks for the reply. I did not do a new index. I just used the sample index downloaded from nutch site. it would be great if you have some working query strings to show me. thanks. philip - Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Sunday, March 14, 2004 4:00 PM Subject: Re: Date Range and proximity search To be honest, I'm way out of the loop of the demo and needs to be re-written. It is on my to-do list! But, date range and proximity searches most definitely work. Can you be more specific about what you index and how you searched? Perhaps even a working test case? Erik On Mar 14, 2004, at 3:52 PM, redpineseed wrote: hi all, I tried the demo, and Date range and proximity search did not return anything. are these two features functioning at all? tia Philip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Date Range and proximity search
Please keep discussion on the e-mail list. I'm not familiar with the fields and types that Nutch uses first-hand, but you should take this up on the Nutch list rather than the Lucene list. I do know that Nutch uses a custom query parser, so perhaps it does not allow range and proximity queries? Erik On Mar 14, 2004, at 10:03 PM, redpineseed wrote: hi Erik, thanks for the reply. I did not do a new index. I just used the sample index downloaded from nutch site. it would be great if you have some working query strings to show me. thanks. philip - Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Sunday, March 14, 2004 4:00 PM Subject: Re: Date Range and proximity search To be honest, I'm way out of the loop of the demo and needs to be re-written. It is on my to-do list! But, date range and proximity searches most definitely work. Can you be more specific about what you index and how you searched? Perhaps even a working test case? Erik On Mar 14, 2004, at 3:52 PM, redpineseed wrote: hi all, I tried the demo, and Date range and proximity search did not return anything. are these two features functioning at all? tia Philip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]