Loading...
 
Features / Usability

Features / Usability


Search engine

posts: 2 France

Hello !

I'm struggling with Tiki search engine.
My Tiki is a simple database with structures and wiki articles.

I've created a search engine module on top of my website, and I want this search bar to scan the inside of my articles, and not just the titles or the article description.
I searched on the options and looked it up on the forums but I couldn't find no answer.

Is there a way to enable search for the entiriety of the articles ?

Please note that I am not a developper, I only know the basics.
Feel free to ask for more details, or tell me if this isn't the place for this.
My Tiki version is 21.1

Thanks in advance !

posts: 8320 Israel
Martin GOBIN wrote:

Hello !

I'm struggling with Tiki search engine.
My Tiki is a simple database with structures and wiki articles.

I've created a search engine module on top of my website, and I want this search bar to scan the inside of my articles, and not just the titles or the article description.
I searched on the options and looked it up on the forums but I couldn't find no answer.

Is there a way to enable search for the entiriety of the articles ?

Please note that I am not a developper, I only know the basics.
Feel free to ask for more details, or tell me if this isn't the place for this.
My Tiki version is 21.1

Thanks in advance !


Hello Martin,

Never tried this but it seems to work ok here using "MySQL full-text search" (default)
Screen Shot 2021 01 05 At 13.46.36

I checked "tiki-admin.php?page=search" and I can see that "Default where" are all unchecked (so search should be done over the complete information available).

Did you refresh your index lately ?


posts: 4593 Japan

If it helps, this is the setup that's working fine in a local test Tiki site of mine.

  • Unified search index is on.
  • Unified search engine is MySQL full-text search
  • (I didn't change any of the search engine details.)
  • The search module doesn't have any special config details, only compact and no box.

Searches turn up looked-for terms in page content as well as page titles.

-- Gary


posts: 126712 United Kingdom

Hi Martin

The general search uses the fields set in the "Default content fields" pref on the search control panel. It defaults to "contents, title" and "contents" is a collection of all the "global" text in an object, which for wiki pages includes the rendered page body, the description, title, date etc. So maybe that pref has been changed by mistake?

It is also affected by the "Field weights" pref just above it, so check both of those are set to their defaults (both of these settings are "advanced" so you need the switch at the top set to that and not "basic")

HTH


posts: 2 France

Hello !

First, thanks a lot for your answers. It helped me a lot in understanding Tiki search engine.

The problem was in my search module. I had it changed too much and activated the "Tiki Research". It narrowed the results to titles and description only.
As usual the problem is between the chair and the computer !

Best regards,

posts: 126712 United Kingdom
Martin GOBIN wrote:
As usual the problem is between the chair and the computer !


Ah, good old PICNIC!

Glad you got it worked out mrgreen