cancel
Showing results for 
Search instead for 
Did you mean: 

TREX for product search with special characters in ISA

benot_delporte
Explorer
0 Kudos

Hello

we're using ISA 5.0 for R3 edition. The search product is performed through TRex.

As many company I guess, our references contain special characters such as /-+:;#_(...

And TRex is not behaving the way we would expect because of these separators.

We would like :

I search " 350a* "

I find all references starting with " 350a "

I search " 5500 "

I find only the part with reference 5500

What we have instead:

I search " 350a* "

I find all references starting with " 350a "

I search " 5500 "

I find all references which contain "5500" between this special word separator.

I've read OSS note 441001 but I don't see what and where I should change.

And also the advice below:

Word separators are characters such as /\;,.:-. The linguistic analysis uses the defined word separators to split a text into individual words.

The global word separators are defined in the configuration file TREXPreprocessor.ini.

I've changed the file and restart Trex but without success.

Does any one has an idea ?

THANK YOU

Benoit

Accepted Solutions (0)

Answers (1)

Answers (1)

benot_delporte
Explorer
0 Kudos

I found a part of the solution so I share it to save you some time:

We have made following steps

1/ delete indexes on TREX server with
XC1\i$\usr\sap\XC1\TRX18

\Trexadmin.bat

2/ Stop TREX

3/ Modify file
XC1\i$\usr\sap\XC1\TRX18\<server>\topology.ini

Replace this two lines:

token_separator=\/;,.:-_()[]<>!?*@+{}=

number_separator=\/;:-_()[]<>!?*#$&@+{}=

by

token_separator=*

number_separator=*

4/ Restart Trex

5/ Create new indexes

It's now working as expected. But the space is still seen as a word separator (even if there is no space behind the * in the line token_separator=*)

Any idea for this part ?

Regards