cancel
Showing results for 
Search instead for 
Did you mean: 

Document search with Trex

krzysztof_murkowski2
Participant
0 Kudos

Hello,

I'm trying to index and search the documents of Solution Manager (document class / area: SOLARGNSRC / IWBSOLAR) with the Trex instance. I've configured the connection between

Solution Manager und Trex according to OSS note 750623. Everything seems to be ok, green status in every window, index program RSTIRIDX says, it has indexed some documents.

My problem: I can find any documents for the simplest query.

I have tried:

- search from transaction TREXADMIN

- search from transaction SKPR07

- search from transaction SRSE

- search with SAP sample program TREX_RFC_AE_EXAMPLE

- search with function module TREX_EXT_SEARCH_DOCUMENTS

I've tried many options (*, Fuzzy, natural, exact, language, codepage, etc.)

What can be the reason, that my searches don't return any documents?

How can I check, that Trex has indexed the documents correctly?

Kind regards,

Krzysztof

Accepted Solutions (0)

Answers (2)

Answers (2)

krzysztof_murkowski2
Participant
0 Kudos

Hi,

I've resolved this problem.

My return code was 6401 and the solution is described in OSS note 685521.

I've looked in the preprocessor log and found many errors as below:

/usr/sap/ET3/TRX53/sapbsec1/trace/TrexPreprocessor_sapbsec1.35302.001.trc:

[1241] 2008-02-07 08:59:38.303 e preprocessor Preprocessor.cpp(00897) :

HTTPHEAD failed for URL

http://ssmbspc1.bvch.ch:80/sap/bc/contentserver/?get&pVersion=0046&contRep=SOLARCONTENTDB&docId=FF52...

with Httpstatus 401

[1241] 2008-02-07 08:59:38.304 e preprocessor Preprocessor.cpp(03553) : HANDLE:

DISPATCH - Processing Document with key 'SOLARGNSRCFF52310FD2993D488DF21EF4DB5C08230000000000000000000000' failed, returning PREPROCESSOR_ACTIVITY_ERROR

As described I got an authorisation login, when I opend this link in a browser (this is an error)

I've found, that special user, which is assigned in transaction SICF for the alias /sap/bc/contentserver is locked <- this was the reason of my problems!

regards,

Krzysztof

Former Member
0 Kudos

Hi Krzysztof,

I am facing same issue with fuzzy search. i am trying to get the results by calling the function module TREX_EXT_SEARCH_DOCUMENTS by paaing the query parameter "TERM-ACTION" as "F". Even though it returns no results.

Could you please help to resolve this issue ?

Thanks in advance,

Surendra.

Former Member
0 Kudos

Hi Krzysztof,

I am facing same issue with fuzzy search. i am trying to get the results by calling the function module TREX_EXT_SEARCH_DOCUMENTS by paaing the query parameter "TERM-ACTION" as "F". Even though it returns no results.

Could you please help to resolve this issue ?

Thanks in advance,

Surendra.

Former Member
0 Kudos

Hi,

You may want to search with the right language settings (i.e. please check if your documents are set in the same language as you are searching for).

Hope this helps!

Former Member
0 Kudos

To add on to my previous statement:

1. in solman -> project admin data, you set your project to some language (DE for german or EN for English).

2. search via skpr07 is language specific. If the stored data is stored in a project that has DE settings for the project's language, then you won't find it when you look for text in EN setting in skpr07.