Re: [discuss] [Really last] Why are quoted searches so hard toimplement?

Sam Berlin <[email protected]> Mon, 23 May 2005 11:21:26 -0400
Newsgroups gmane.network.gnutella.limewire.general
Message-ID <[email protected]>
I think the ultimate solution will have the server-side start parsing 
queries that contain quotes, as well as the GGEP extension of quotes.  
For a while we'll send out queries with the quotes stripped out & 
placed into the GGEP portion, so that _some_ results are still sent 
from older clients.  Once a good amount has upgraded, we can shut off 
including quotes in GGEP and just place them into the search itself 
(this can be remotely signaled).   We also can't use any delimiters 
that are also in SearchSettings.BAD_CHARS, because all LimeWires will 
drop those queries.

Once the PATRICIA, Keywords, CharSequence, quotes phrase searching, 
etc... stuff is in, we should also look at merging the XML keywords 
into the main FileManager trie, so that normal searches can search 
against metadata phrases.  The XML stuff should also use real keyword 
matching instead of String.startsWith.

Thanks,
  Sam

On May 23, 2005, at 11:09 AM, Gregorio Roper wrote:

> But you could make quoted queries a lot simpler, if you didn't use 
> actual quotes '"' to mark quoted phrases in the query packet but any 
> of FileManager.DELIMITERS (to which quotes '"' should probably be 
> added anyway). However, whatever the solution, it will always require 
> most users to update for it work properly.
>
> mfg
> gregorio
>
> Sam Berlin schrieb:
>> We've been discussing this on the core-dev list, under the subject 
>> PATRICIA.
>> See http://www.limewire.org/pipermail/core-dev/2005-May/001853.html 
>> (the
>> whole thread).  The main difficulty is that it must also be a 
>> server-side
>> feature.  If only the client-side were to implement it, there would 
>> be a ton
>> of useless results wasting network bandwidth and reducing the 
>> effectiveness
>> of the search.
>> Thanks,
>>  Sam
>>> -----Original Message-----
>>> From: [email protected] 
>>> [mailto:[email protected]] On Behalf Of Clemens 
>>> Eisserer
>>> Sent: Monday, May 23, 2005 8:00 AM
>>> To: [email protected]
>>> Subject: [discuss] [Really last] Why are quoted searches so hard 
>>> toimplement?
>>>
>>> Sorry for nerving again, this is really my last mail ;-)
>>>
>>> Just stubled over the todo-list and saw a something which seemed 
>>> curious to me: Why is it so hard to implement quoted searches?
>>> Isn't it not enough to filter the results coming on from other 
>>> clients against the search-string?
>>>
>>> Thanks lg Clemens
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://www.limewire.org/mailman/listinfo/discuss
>

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