Page 1 of 1

Search issue -- first letter ignored

PostPosted: 27 Jul 2014 21:19
by Hal9000w
Doing a search for "Danni" brings up results for Annie, Cannibal, Grannies, etc.
It is possible that not all results ignore first letter.
Searching on "dlayboy" or the like will bring up results for "playboy" or similarly "renthouse" will bring up results for "penthouse"
I am using 2.7.6.0 and the issue has also occurred in older versions. Also this occures even if filter is set to filter out non matching results. There should be some code fix for this.

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 00:24
by raspopov
What protocol? Gnutella 1, Gnutella 2 or Ed2K?

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 03:01
by Hal9000w
I am running ed2k and G2. It looks like the results are for ed2k for the most part and the search lists Shareaza as the client on the results. All the results show ed2k hashes, some show others as well. The results all seem to show Shareaza as the client in the results.

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 03:39
by Hal9000w
I should point out that I am not putting the search terms in quotes when doing the search, just using quotes here to mark the text.

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 09:52
by raspopov
Cannot confirm. Probably search spam or non-standard ed2k server.

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 10:35
by old_death
Hal9000w, would you mind posting a screen-shot of such a search (with file sources expanded)? This might allow us to identify whether this is really search spam or not.

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 15:28
by Hal9000w
It does not appear to be search spam. The results seem to be coming from legitimate sources.
Attached is a screenshot showing just the results that don't properly match. I was able to browse some of the clients that were returning bad results and they included Shareaza 2.7.1.0 , 2.7.4.0 and 2.7.5.0 clients. (At least that is what versions they were reporting.)

Re: Search issue -- first letter ignored

PostPosted: 28 Jul 2014 19:54
by raspopov
Shareaza uses all available metadata of file when answering on incoming search request including non-obvious ones (for example folder name) and also trim one and two chars from end of search word ("danni" -> "danni" + "dann" + "dan").

Re: Search issue -- first letter ignored

PostPosted: 29 Jul 2014 02:24
by old_death
Yes,but in this case it seems to trim a character from the beginning. I don't think this is inteded behavior...

Also in case this is not done already we should remove one resp. two letters only from the end if a word has a certain minimal length, thus reducing the risk of word conflicts and false hits...