Community for yuuvis® RAD

0 votes
by (160 points)

Good morning!

I`m writing a frontend for our compliance archive. As far as I can understand until now, searching for the sender of an email (field "email:from") is not directly supported, as the search term is for fulltext search. If I want emails from an explicit sender, I have to use a filter on "email:from".
BUT: As it is a string I have to use SearchFilter.OPERATER.EQUAL. This makes the whole thing case-sensitive, which is pretty darn useless for email-adresses, which are case-INsensitive.

Any idea how this can be worked around? Or even a hint to how I can do this search directly, without the filter?

Thanks in advance,

Stefan

2 Answers

0 votes
by (700 points)

Hello Stefan,

We support two kinds of the search: index data search (exact but case insensitive) and fulltext search.

I think for your approach you need index data search. Your query could be like that

{
"filters": {

"email.from": {
  "o": "eq",
  "v1": "irina@optimal-systems.de"
}

},
"types": [

"email"

],
"fields": [

"email.subject",
"email.from"

]
}

Best regards,
Irina

by (160 points)
Hello Irina,

that`s nearly how my search looks like - I just don`t have the types and fields until now. (@eo-sdk/core tooltip says fields affects the fields returned by the search, for now I`m ok with all of them)

So, if you use
  "v1": "Irina@optimal-systems.de"
in your filter (capital I), it will not find anything. That`s my problem.

"searchMode" is "idxs" btw., if that helps.

Best,
Stefan
by (700 points)
Hello Stefan,

to analyze your problem I might need more information. Could you please set QUERY -Logger in search-service to DEBUG and execute your query and then send me the service.log.

Best regards
Irina
0 votes
by (12k points)

Hello Stefan,

there is a misunderstanding here. The compliance archive you have running is not part of the yuuvis RAD product. It is rather a customized version of yuuvis ultimate/momentum. Please post your question in that QA portal or write to Mario Noack (mario.noack[at]optimal-systems.de).

Best regards
Nicolai

Related questions

...