lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. Burton" <>
Subject Re: DocumentWriter, StopFilter should use HashMap... (patch)
Date Tue, 09 Mar 2004 18:46:36 GMT
David Spencer wrote:

> Maybe I missed something but I always thought the stop list should be 
> a Set, not a Map (or Hashtable/Dictionary). After all, all you need to 
> know is existence and that's what a Set does.

It stores the word as the key and the value...

I don't care either way... There was no HashSet back when this was 
written. I was just going to leave it as a HashMap so that in the future 
if we ever wanted to change the value we could...

Either way.


Please reply using PGP:    

    NewsMonster -
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
       AIM/YIM - sfburtonator,  Web -
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
  IRC - #infoanarchy | #p2p-hackers | #newsmonster

View raw message