cancel
Showing results for 
Search instead for 
Did you mean: 

KM Search - Configured Index ID is not standard in KM Seach Iview

Former Member
0 Kudos

Hi @ all,

i´ve configured Search Options Set where i defined

"Search Index IDs" "Documents" <-- ID of an index.

Then i created a KM Search Iview where i referenced to this options Set.

But the Iview will not show the predefined Index, although the ID of the Index is correct!

Any ideas?

Greetingz

Lars

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lars

What do you see, if you click the advanced link next to the search button when you launch the window?

Does the search work as intended? Will a triggered search give you the correct search results from the Documents index?

Did you check if "Enable Search Scope Selection" is checked in the search options set, and if one of the search components in the standard search component set (or the custom search component if that is what you are using) contains a search scope component? If there is no component to control the search scope, you dont get to select an index eg.

Best regards,

Martin Søgaard

Former Member
0 Kudos

Hi Martin,

the configuration is exactly like what you have written.

If i trigger a search, the Index that is configured is not asked.

But when in manually take it in the Drop-Down-Box the Search will work fine.

Greetingz

Lars

former_member188556
Active Contributor
0 Kudos

Hi Lars,

2 Doubts:

Are the search results coming in ur expected way? is it getting only from the index u have mentioned?

What do u want to do with the search index? u want the user to select an index and hit the search button?

Regards

BP

Former Member
0 Kudos

Hi Lars

It sound to me like you are using the search component search_input_indexes (Indexes represented in a dropdown) without having standard_search_scope selected in your search component configuration.

You need to put standard_search_scope into your search component configuration in order for the index setting in your search options set to be stored somewhere. If you dont have a search component in your search component set that can contain information about what scope your initial search should be done in, the search will be performed in all indexes.

If you dont want the standard_search_scope component to be visible, you could deselect "Enable Search Scope Selection" in your search options set.

But bear in mind what changes you are doing to your global search configuration, and what changes you are doing to your local searches.

Best regards,

Martin Søgaard

Former Member
0 Kudos

Hi,

@Bobu:

The search results doesn´t come in my expected way, because there is another search index as default index, although i configured another one.

@Martin:

Nearly. The option set ist correct. In this option set u can define an Index for default search. In my case i defined "Documents". However it search in another index. Means: In the dropdown box there is another index as default....

Greetingz

Lars

Former Member
0 Kudos

Hi Lars

I'm not sure we understand each other correctly. I would primarily like you to check the Search Component Configuration in order to see if there is a component present that can store the index setting from your search options set. From your answer it does not seem like you checked that setting.

Regards,

Martin

former_member188556
Active Contributor
0 Kudos

Hi Lars

In the search component that u r using, in the

"Components of basic search function" add standard_search_input and standard_search_scope.

This is how i eliminated the inwanted indices to get involved in my search, and it serched only in the search index that i have

mentioned in the search options.And yes, u need to mention this

search component name in the search iview configuration also

Give a try on this

Regards

BP

Former Member
0 Kudos

Hi,

this is my predefined Search Option Set. There u can see, that i defined an index "Dokumente". This option set is defined in the search iview. But there is another index which always overexcite this definition.

Description: Standard UI parameter configuration for search

Initial Display of Search Options : OK

Enable Large Search Field: OK

Close Options After Search : OK

Enable Search Options: OK

Enable Further Search After Quick Search: + OK

Enable Search Scope Selection: OK

Default Search Scope: * INDEXES

Search Index IDs (csv): Dokumente

Index Groups (csv):

Root Folders for Search (Scope = FOLDER) (csv):

Enable Selection of Search Method :

Default Search Method: * AUTOMATIC

Enable Standard Properties : OK

Enable Result Parameters: OK

Enable Cascading Search : OK

Enable Sorting of Search Results: OK

Default Sorting Mode: * DESCENDING

Default Property for Sorting: cm_rnd_rankvalue

Allowed Sort Properties: cm_contentlength ,cm_displayname ,cm_modified ,cm_modifiedby ,cm_rnd_rankvalue

Enable Item Selection: OK

Default Item Selection: * NO FOLDERS

Enable Language Selection:

Default Search Language Selection: * ALL

Additional Search Properties: +

Show Related Terms:

Max. No. of Related Terms: * 6

Max. No. of Words in Snippet: * + 200

Max. No. of Search Results per Page: * 30

Enable No. of Catogries Selection: + OK

Max. No. of Categories: * + 0

Enable Predefined Properties: OK

Predefined Properties (csv):

Fixed No. of Rows for Predef. Properties: * 0

Meta Data for Predefined Properties: +

Allowed Predefined Properties: cm_contentlength ,cm_created ,cm_createdby ,cm_displayname ,cm_modified ,cm_modifiedby ,Dokumentenart

Enable Custom Properties: OK

Custom Properties (csv):

Fixed No. of Rows for Custom Properties: * 0

Show No. of Hits :

Enable Web Repository Access for Properties: +

Greetingz

Lars

Former Member
0 Kudos

Hi Lars

Could you please share what search components (in correct order since it matters) you are using in the search component set you refer to from your search iview?

Kind regards,

Martin

former_member188556
Active Contributor
0 Kudos

Lars,

Also post the Search Component config that you are using.

Regards

BP

Former Member
0 Kudos

Hi,

this should be standard.

Description: Standard search component set configuration

Component for Basic Search Function : * search_input_indexes

Component for Search Options :Not set

Component Below Search Options: standard_search_properties ,standard_search_resultparams ,search_predefined_props

Component Below Search Result: Not set

Faithfully

Lars

Former Member
0 Kudos

Hi Lars

Try entering standard_search_scope in Component for Search Options and see if that fixes the search results.

Regards,

Martin

former_member188556
Active Contributor
0 Kudos

Lars,

In components of basic search function" add standard_search_input and standard_search_scope.

Regards

BP

Former Member
0 Kudos

Hi Bobu,

great this works!!!!!!

I don´t know why, but it works.

In another System it works with the old definitions.

POINTS will be assigned!

Thank u very very much!

Greetingz

Lars

Former Member
0 Kudos

Hi Bobu,

hmmm. Thats not normal.

Normally i don´t want to show this area. Should be hide from the screen. But only with this scope the index which is defined will be shown as standard in the drop-down-box.

Thats strange....

Greetingz

Lars

former_member188556
Active Contributor
0 Kudos

Hi Lars,

U can hide it. In the search options,

Enable Search Scope Selection: OK

unselect the option for Search Scope Selection.

This will make it hidden and also

it will search only in the index u have mentioned..

Regards

BP

Answers (0)