on 10-07-2008 5:00 PM
Hi all,
is it possible, that I can exclude the full text search in TREX, so that TREX is only searching for filenames?
If so, how could I do that with minimal effort?
Thanks for your answers in advance.
Best regards
Joachim
Hi Jochaim,
See this [Image|https://wiki.sdn.sap.com/wiki/x/PYKCAw]
Is this ok???
Regards
BP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bobu,
yes, your image looks good. Except that I need a GUI so that I can toggle with a checkbox between either a full text or a document name search.
But this shouldn't be a problem as soon as I know how to exclude the full text search as shown in your solution.
How did you realize that?
Regards
Joachim
Jochaim,
I created a search option set and in the Predefined properties i gave display name.
Create a search option and a search component and link these into ur search iview.
In the search option u can give predefined properties as display name.
U can have a full text search and an optional Name search.
Check this link for [Search Options|http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm] and [Search Component|http://help.sap.com/saphelp_nw04/helpdata/en/f9/b84d40cef71059e10000000a155106/frameset.htm]
Regards
BP
Hi,
ok, my answer that this is possible means that you can write your own code (search iView) by using the KM API's.
But indeed it is not possible by configure the portal.
Within the search option you can use the parameter "Additional Search Properties" to add some more properties to your search request.
But all the time the properties description, title, and content will be used for the search. In this case you have all the time a full-text search over the content and description and title.
Best regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for your replies so far. I started to program a custom search. To search the title I use the following code:
sqb.setSelectedTitle("title");
sqb.setDisplaynameIncluded(true);
But which method could I use to turn off the full text search. Because TREX is still searching the document content as well.
Regards
Joachim
Hi,
yes it is possible.
If you are doing a full text search or not depends on your TREX search query command.
Best regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.