[core-dev] Re: [codepatch] PATRICIA

Roger Kapsi <[email protected]> Thu, 12 May 2005 00:24:56 +0200
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
... or I forgot the QRP! :)

OK, I have two ideas.

#1 Ultrapeers check if a query starts and ends with quotes and if so  
they ignore them. Simple but doesn't conform to the QRP spec.

#2 Additionally to the pure keywords we could add all permutations  
with quotes to the QRP. Not necessarily all permutations, for files  
for example only the file name and only certain combinations.

some file.txt

some
file
txt
"some
some"
"file
file"
"txt
txt"

The combinations "some", "file" and "txt" make no sense IMO.

Opinions, comments!?

cu
  Roger


On May 11, 2005, at 10:17 PM, Sam Berlin wrote:

> This looks fantastic.  Will the searching for quoted phrases work  
> with QRP already (and just be slightly more inefficient because  
> there'll be more false positives) or...?
>
> Thanks,
>  Sam
>
> On May 11, 2005, at 3:10 PM, Roger Kapsi wrote:
>
>
>> Hi,
>>
>> this patch switches FileManager from Trie to PatriciaMap, adds  
>> support for queries with quoted phrases and reduces the number of  
>> IntSet instances.
>>
>> cu
>>  Roger
>>
>> <Archive.zip>_______________________________________________
>> codepatch mailing list
>> [email protected]
>> http://www.limewire.org/mailman/listinfo/codepatch
>>
>
>

_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev