searching substring failed - extend Kaltura search

2 replies [Last post]
Joined: 08/10/2010
Points: 225

Unfortunately I experienced some problems with the kaltura search:

after uploading some videos with a title like "hometheater" the search doesn't find this video by just searching for "theater" which is very bad.

Is it possible to extend the kaltura search in order to get search results for a substring like my example?

The API doesn't give me some hope for this. Writing an application which communicates with kaltura the only way seems to develop an own search for this.

Joined: 01/05/2009
Points: 1697

If you are using a self hosted Kaltura server, try the following:
Add the following 3 lines to the sphinx config file (/opt/kaltura/app/configurations/sphinx/kaltura.conf) -
index kaltura_category
{
type = rt
path = /opt/kaltura/sphinx/kaltura_category_rt
dict = keywords
min_prefix_len = 1 (the minimum number of prefix characters you can search, in this case, 1 means you can even search for a*, 2 means ab* etc.)
enable_star = 1

For more details, refer to:
http://sphinxsearch.com/docs/1.10/conf-enable-star.html

Joined: 08/10/2010
Points: 225

Thanks for your response Kalturian.

you wrote 3 lines but pasted a lot more line.

index kaltura_category
{
        type = rt
        path = /opt/kaltura/sphinx/kaltura_category_rt
        dict = keywords
        min_prefix_len = 1
        enable_star = 1
}

This correct? I would just paste this lines at the end of the kaltura.conf file.

By the way: I couldn't find a "/opt/kaltura/sphinx/kaltura_category_rt" file under this path. Problem?