Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: John Gimber on August 25, 2006, 07:09:55 AM

Title: Search issue - 0% relevance reported
Post by: John Gimber on August 25, 2006, 07:09:55 AM
SMF Version: SMF 1.1 RC3
Hi,

not sure if I'm missing something or not.

I've upgraded my forum from 1.0.7 to 1.1RC3 (very nice work - love the changes).

However, when I do a search I seem to be returning lots of results, all with a relevane of 0%.  I've tried creating a full text index and using it, but still no joy.

Is there something I'm doing wrong, or does the search relevance thing not quite work?  (I see you have relevance values on your site, so it may be a config issue in mine).

www.leroc-in-bristol.co.uk/forum

Regards

John.
Title: Re: Search issue - 0% relevance reported
Post by: higherauthority on August 28, 2006, 09:36:41 PM
Yes, I am also seeing this problem. and I tried it with every theme I have installed. I get same results. The search works its just displaying the incorrect relevance value
Title: Re: Search issue - 0% relevance reported
Post by: kai920 on September 12, 2006, 09:59:36 PM
Just noticed this on my site as well. Is this an "officially recognized" bug?
Title: Re: Search issue - 0% relevance reported
Post by: baladeva on September 14, 2006, 02:38:03 PM
i have this  problem also, just find it out - must be a bug
http://www.harekrischna.de/home/component/option,com_smf/Itemid,123 (http://www.harekrischna.de/home/component/option,com_smf/Itemid,123)
Title: Re: Search issue - 0% relevance reported
Post by: Harzem on September 14, 2006, 03:20:21 PM
1.1 RC3 has problems with search issues. I'm sure developers are working on it.
Title: Re: Search issue - 0% relevance reported
Post by: Harzem on September 14, 2006, 03:32:37 PM
Can you try disabling the spell checker feature?
Title: Re: Search issue - 0% relevance reported
Post by: kai920 on September 14, 2006, 09:28:16 PM
Quote from: HarzeM on September 14, 2006, 03:32:37 PM
Can you try disabling the spell checker feature?

Was this in reference to the search relevance problem? If so, it didn't change anything... still 0%.
Title: Re: Search issue - 0% relevance reported
Post by: devnet on September 26, 2006, 09:53:13 PM
I can also verify this is present.

Upon disabling of spell checker, the problem still is present.
Title: Re: Search issue - 0% relevance reported
Post by: kai920 on September 27, 2006, 02:14:02 AM
Any official response on this?
Title: Re: Search issue - 0% relevance reported
Post by: kai920 on September 30, 2006, 12:25:58 AM
Hello?  Why is the search % working on this site, but not forum.joomla.org for example. ???
Title: Re: Search issue - 0% relevance reported
Post by: jerm on September 30, 2006, 02:24:07 AM
Quote from: John Gimber on August 25, 2006, 07:09:55 AM
SMF Version: SMF 1.1 RC3
Hi,

not sure if I'm missing something or not.

I've upgraded my forum from 1.0.7 to 1.1RC3 (very nice work - love the changes).

However, when I do a search I seem to be returning lots of results, all with a relevane of 0%.  I've tried creating a full text index and using it, but still no joy.

Is there something I'm doing wrong, or does the search relevance thing not quite work?  (I see you have relevance values on your site, so it may be a config issue in mine).

www.leroc-in-bristol.co.uk/forum

Regards

John.

When i search your site, i was able to get a relevance percentage
Title: Re: Search issue - 0% relevance reported
Post by: John Gimber on September 30, 2006, 02:57:00 AM
Hum,

I just tried going to the search page at http://www.leroc-in-bristol.co.uk/forum/index.php?action=search

entering "shoes" and clicking on the <search> button.

Everything still had a 0% rating.

Also tried it in different themes and logged in and logged out.

How did you do your search?

John.
Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on September 30, 2006, 02:58:40 AM
Have you created an search index?
Title: Re: Search issue - 0% relevance reported
Post by: John Gimber on September 30, 2006, 03:08:47 AM
Yes:

Space used by forum messages in the database: 4459.86 KB
Space used to index messages in the database: 2789 KB

Search index: Fulltext index
Index: already created [remove fulltext index]
Size: 2789 KB

Force the use of a search index [true]
Match whole words only [false]

I do a search for "shoes" and get this:

(http://www.leroc-in-bristol.co.uk/ForumUploads/Temp/SearchResults.gif)
Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on September 30, 2006, 04:28:09 AM
It might be because its a fulltext index, so revelance targets the whole word and sees if its in the title; but since it ain't, it says 0% :D
Title: Re: Search issue - 0% relevance reported
Post by: higherauthority on September 30, 2006, 12:08:34 PM
Quote from: jerm on September 30, 2006, 02:24:07 AM
Quote from: John Gimber on August 25, 2006, 07:09:55 AM
SMF Version: SMF 1.1 RC3
Hi,

not sure if I'm missing something or not.

I've upgraded my forum from 1.0.7 to 1.1RC3 (very nice work - love the changes).

However, when I do a search I seem to be returning lots of results, all with a relevane of 0%.  I've tried creating a full text index and using it, but still no joy.

Is there something I'm doing wrong, or does the search relevance thing not quite work?  (I see you have relevance values on your site, so it may be a config issue in mine).

www.leroc-in-bristol.co.uk/forum

Regards

John.

When i search your site, i was able to get a relevance percentage

I just did a search on that site and get 0%
Title: Re: Search issue - 0% relevance reported
Post by: kai920 on September 30, 2006, 12:27:34 PM
0% on that site as well
Title: Re: Search issue - 0% relevance reported
Post by: higherauthority on September 30, 2006, 01:32:21 PM
The version I was running prior (1.08) did not have this issue. I don't remember needing to full text index or anything. It just worked.   so not sure whats exactly wrong I am no expert on this matter.  Any one know how to correct this?


Should this thread be moved or reported in the bug report section? It seems I am not the only one having this issue.
Title: Re: Search issue - 0% relevance reported
Post by: astounding on October 04, 2006, 07:34:57 AM
Any updates on fixing this as I'm also getting it on my forum?...

Thanks.
Title: Re: Search issue - 0% relevance reported
Post by: hartiberlin on October 16, 2006, 11:37:03 AM
In my
forum at
www.overunity.com
I also have a search problem.

I am still running
1.1 RC2

and when I search for somthing,
I just get only the last message,
where 2 words I search for were in.

It does not find the other messages,
where the 2 words were in.

I have tried alrady all possible
settings with the induvidial  index
and normal index and without index,
but it does not help.
I have set it now this way:

Search method
Space used by forum messages in the database: 14,243 KB
Space used to index messages in the database: 7,304 KB


Search index:
Why create a search index?  No index 
  Fulltext index
Index: already created [remove fulltext index]
Size: 7,304 KB 
  Custom index
Index: doesn't currently exist [create custom index] 
Force the use of a search index:  x
Match whole words only: 


So when I search for the words:

multi strand

it only finds one message, but there are really
a few messages with these 2 words in there...

So what could this be ?

Many thanks.
Regards, Stefan.
Title: Re: Search issue - 0% relevance reported
Post by: devnet on October 19, 2006, 12:56:09 PM
I tried this from scratch with 1.1 RC3.  I had my moderators come in and post one post with random text in each of 5 forums using newsclips from ABC, FOX, etc. to give text diversity.

I then went into Admin >> Search >> Search Method

I built a custom Index (Large).

Then I tried searching to see the percentage results.  All were 0%.  So, this truly is a bug...turning off spell check and building indices will not repair it.
Title: Re: Search issue - 0% relevance reported
Post by: Harzem on October 19, 2006, 01:01:52 PM
This is a bug and hopefully it will be fixed in 1.1 final.
Title: Re: Search issue - 0% relevance reported
Post by: Oldiesmann on October 19, 2006, 01:30:16 PM
Try the Search.php file from 1.1 RC2 for now - that seems to work fine for most people having this problem.
Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on October 22, 2006, 07:01:14 AM
I don't really find this a bug, I got a revelance; you have to adjust the weights.

Recommendations, do the last 2 as 10% and the others as 20%.
Title: Re: Search issue - 0% relevance reported
Post by: Laibeus Lord on October 23, 2006, 09:14:35 AM
edited... wrong thread.
Title: Re: Search issue - 0% relevance reported
Post by: jacortina on October 23, 2006, 09:36:15 AM
Quote from: J J Williams on October 22, 2006, 07:01:14 AM
I don't really find this a bug, I got a revelance; you have to adjust the weights.

Recommendations, do the last 2 as 10% and the others as 20%.

I just went to your site's forum and searched for the word 'hosting'. That sure looks like it's yielding 0% relevance to me.

(http://img95.imageshack.us/img95/9344/screenshot001hg4.jpg)
Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on October 23, 2006, 11:18:20 AM
Oh yeah I changed the weights on another site, let me update them now. Please try again, I have just updated them.

The only problem now is the revelance goes over 100%
Title: Re: Search issue - 0% relevance reported
Post by: jacortina on October 23, 2006, 11:31:59 AM
Shows it now. And yes, the first is over 100%.

Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on October 23, 2006, 11:53:26 AM
So it depedns on your weights actually, this isn't really a bug then :D
Title: Re: Search issue - 0% relevance reported
Post by: jacortina on October 23, 2006, 12:13:45 PM
That sort of depends on whether or not it was intended to work that way, doesn't it? ;)
Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on October 23, 2006, 12:53:48 PM
So it's only the problem with the top-heavy that needs fixing :P
Title: Re: Search issue - 0% relevance reported
Post by: Harzem on October 23, 2006, 01:25:08 PM
Quote from: J J Williams on October 23, 2006, 11:53:26 AM
So it depedns on your weights actually, this isn't really a bug then :D

It being "fixed" for 1.1 final, makes it actually a bug :P
Title: Re: Search issue - 0% relevance reported
Post by: J. Williams on October 23, 2006, 02:54:46 PM
True, true and how long has it gone on for?