cancel
Showing results for 
Search instead for 
Did you mean: 

Trex search with special character

Former Member
0 Kudos

Hi all,

I have a problem on a EP6 SP17.

I have already created Index at TREX and it is working properlly.

I develop a search tool with this query (part of code) :

IQueryEntry nameOfFileQuery = federatedSearch.getNewQueryEntry();

nameOfFileQuery.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);

nameOfFileQuery.setPropertyName(

new PropertyName(

IMetaName.DEFAULT_NAMESPACE_ALIAS,

"displayname"));

nameOfFileQuery.setPropertyOperator(

IQueryEntry.PROPERTY_OPERATOR_EQUAL);

nameOfFileQuery.setPropertyType(IQueryEntry.PROPERTY_TYPE_STRING);

nameOfFileQuery.setTermWeight(1.0F);

nameOfFileQuery.setCaseSensitive(IQueryEntry.CASE_SENSITIVE);

nameOfFileQuery.setFuzziness(1.0F);

It runs almost perfectly but when I type any word with special character like acé the search tool show the resources equal to "acé" but a lot of resources with "ACE", "acé", "ace" and so on.

Does anyone can help to solve my problem.

thank you,

Pino.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Nobody can help me or I ask any stupid things? if yes, please tell me what is wrong.

Thank you! Pino.