"Duplicated" search results

Please report bugs here!

Moderator: Thorsten

Post Reply
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

"Duplicated" search results

Post by maxxer »

I am trying the "Instant response" search in home, and it's fantastic.

But I often file the same FAQ in more than one category. And in this case, when I type for example the title of the FAQ, I will have a duplicated search result of the same article, since it's in two different cats.

The results should be unique per FAQ id, imho!


cheers.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: "Duplicated" search results

Post by Thorsten »

Hi,

I know... but I don't know which of the two results should be displayed?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: "Duplicated" search results

Post by maxxer »

if you weigh search results, the highest value. the one with most matches!
otherwise, instead of showing two articles, show single article and list the categories it is in as a list, like tags.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: "Duplicated" search results

Post by Thorsten »

Hi,

the weight could be an option. We're currently working on the search class for the 2.7 release so there will be an improvment.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: "Duplicated" search results

Post by maxxer »

yes, but considering that it's the exact same article, differing only in the category, weigh will likely be the same 99% of the times, unless the search term include one of the categories.

showing the cats it is in, comma separated, would be better imo
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: "Duplicated" search results

Post by Thorsten »

Hi,

that' right.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply