Skip to Content

Searching only keywords

Hi all,

I have a request from an end user that we set up the search of one of our web repositories so that it will only the embedded-keywords for the documents and nothing else.

In other words, if we search for the term 'account', the hits that are returned in the search results are those documents that have the word 'account' in the embedded-keywords. If a document has the term 'account' in it's content and/or title but does not have it in the embedded-keywords, it should not show up in the search results.

It seems to me like I need a custom search component set with 'search_predefined_props' added to the 'Component for Basic Search Function'. I have done this, but my search still returns content with my search term in the contents of the file.

I have also disabled the 'Enable Standard Properties' setting in my search option set.

Can anyone help me out here?

Thanks!

-Stephen Spalding

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2009 at 10:04 AM

    Hi Stephen

    Was it the cm_embedded_keywords-property you referenced in your custom Search Options Set as a predefined property?

    Kind regards,

    Martin Søgaard

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Stephen Spalding

      Hi Stephen

      Sounds good that I answered your question - unfortunately without solving your problem.

      You can try with a mix of the available search components to see if you can match the end user needs. In my experience it is normally hard to exactly meet the demands from the customer/end user with the available search components.

      The answer is to develop a search component which can be a difficult task (no matter what SAP says). But with an experienced java developer and if you decompile the components with relation to predefined properties for inspiration, I think you'll do fine.

      Best regards,

      Martin Søgaard

  • Posted on Feb 12, 2009 at 07:59 PM

    Anyone?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 17, 2009 at 04:59 AM

    Hi Stephen,

    Probably you will be using a search iView and hence you can mention a search option and search component.

    In that case, i would like you to do this configs and run a test.

    I dont have a web repository manager setup to do the test.

    I have created a search option and in there, i have mentioned Predefined Property(csv) = cm_embedded_keywords and Fixed number of predef properties = 1.

    And in the search component set, only in the component for

    Basic search function=

    search_predefined_props,

    standard_search_button

    standard_search_scope

    Then these two names are mentioned in the Search iView.

    Will you let me know how this go? A bit curious...

    Regards

    BP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.