Skip to Content
author's profile photo Former Member
Former Member

How to search based on custom properties using TREX

Hi, i have installed TREX and able to create indexes and do basic searching. i have created some custom resurce types in sys admin->sys.config->cm->global services->resource types. i have created some properties in property meta data for these types. i made these properties indexable. but how can i search based on these properties using trex? can anybody know how to do this? please help me. thanks in advance..

thanks & regards

kranthi

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 09:25 AM

    Hi Kranthi,

    for this you have to modify the search option set used in the default search iview (pcd:/portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.basicsearch) . Or better, you create your own search iView using the default Search Component and your own Search Option Set.

    To modify or to create a new set of search options choose System Administration -> System Configuration -> Knowledge Management -> Configuration

    -> Content Management -> User Interface -> Search -> Search Options Set.

    The relevant parameter for you is "Allowed Predefined Properties". Add your own properties to the Search Options Set UISearch.

    Check out this documention on deeper knowledge of customizing the search UI: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e6fdf113-0701-0010-d1ad-cc8a46838a9e

    Hope this helps,

    Robert

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 07:00 PM

    hi kranti

    i need 1 help from u i came to know that u installed TREX throuh u r post,i also installed TREX in linux but i strucked in post configuration while setting environment variable.

    to set environment variables

    The following steps are given for entering scripts in login file

    1.logon as TREX User

    2.add the following call tothe file<HOME_TREXUSR>/.profile

    . <TREX_DIR> /TREXSetting.sh

    3.add the following call to the file <HOME_TREXUSR>/.login

    source.<TREX_DIR> /TREXSetting.csh

    in the above 2 points can usuggest me what i've to give in the place of <HOME_TREXUSR> wht it actually mean

    i'll be very much thankfull to you if you do this favour for me.

    Regards

    Gnana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2005 at 04:56 AM

    Hi Robert, thanks for your reply. is there any other way to search on custom properties? the problem is if i have hundreds of custom properties, manually adding all these in search option set is difficult. is there any setting where if i make the property as indexable , it will be searched by the TREX automatically.

    thanks & regards

    kranthi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Kranthi,

      by standard search (term entered in the normal search input field) is executed on the properties:

      Content, Description, Display Name

      If your want to enlarge this set of properties you can specify 'Additional Search Properties' in your relevant Search Option Set (default UISearch).

      There are two things to keep in mind:

      1. Properties needs to be modelled and indexable

      2. Performance is influenced slightly, because the enlarge search query

      Regards Matthias Röbig-Landau

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.