cancel
Showing results for 
Search instead for 
Did you mean: 

TREX search "Did you mean:"

former_member787462
Participant
0 Kudos
52

Hi Team,

We are using TREX(version 7.0) as our search engine and when we search for the white page of user in the search currently its giving "Did you mean" option.

For example, if i type for the user white page in the search text box say "Rahul Sharma" its giving did you mean "Rahul Singh" some thing like that. what i would like to do is that, for specific search words i do not want to display the "Did you mean" option. when i type "Rahul Sharma" it should give an exact results or white pages in the search which means that name keyword should have the highest priority in the search.

Where we can configure this. In TREX or in the portal search component or search option set . Please advise.

Thanks

Manoj K

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member787462
Participant
0 Kudos

Hello Duncan Speidel,

Thanks for your efforts and feedback. Deactivating the "disDidYouMean=false" will not solve my problem. Actually i want this feature if the other search queries are fired in the search. But just i don not want to display the "Did you mean" for a specific search words" for example if i search for the word "Manoj K" it should not ask "Did you mean options . Is there any way we can achieve this? Please guide. Thanks

Best Regards,

Manoj K

duncanspeidel
Advisor
Advisor
0 Kudos

Hi Manoj K,

Are you using the same search box for searches for people and searches for content?  If you are I do not know of a way to suppress "did you mean" for names but not for regular content.  How would the search engine know that a person is being searched for instead of a document (to TREX people are seen just like documents). 

If you have one search iView for content and a different one people this is very easy to accomplish.  In the people search iView use"disDidYouMean=false".  Do not set the parameter in the content search iView.

If you are using the same iView for both you might be able to create a custom renderer that suppresses "did you mean" when a name is entered.  The custom render could check either the people index or a list.  It is probably easier to code to check a list than the index but then the list must be manually updated. 

Hope this helps.

Duncan 

duncanspeidel
Advisor
Advisor
0 Kudos

Hi Manoj K,

You need to unset "Show Related Terms:" in the search option set.  The default search option set is "UISearch".  The option sets can be found in the Search area of user interface in KM config.

Best regards,

Duncan

former_member787462
Participant
0 Kudos

Hello Duncan Speidel,

Thanks for the inputs.

I have checked in my system by navigation through Content Management -> User Interface -> Search -> Search Option Set -> UISearch.

Show Related terms is unset(Is the below one you are referring too or is there any other configuration) . Please refer the screen shot.

Please advise me what configuration can be done . Thanks .

Best Regards,

Manoj K

duncanspeidel
Advisor
Advisor
0 Kudos

Hi Manoj K,

Sorry for the mis-direct.  Its been a while since I've had to turn this feature off. 

http://help.sap.com/saphelp_erp60_sp/helpdata/en/ad/e3ce0fd4f011d5994400508b6b8b11/frameset.htm

Contains the answer.  You need to set "the following parameter in the query iView property: IncludePhrase=false". 

Best regards,

Duncan