Agent for body search

Hi,

Using @abstract I am extracting the mail content in the document Field “Body” and displayinf in the @prompt. The function returns only some half of the content. It omits the rest of the content inside “body” field.

My requirement is to create a agent to locate the document with the parameters(body content)

Subject: @abstract limited size

If your rich text is too long, you should try to use full text search. One drawback : full text index is updated on hourly basis.

Cheers

Subject: This is a guess…

  • Notes has tons of size limitations that made sense when it was first written, but are utterly senseless now. Fields for instance are still limited to 65K bytes, which is 32K chars because Lotus (wisely) uses a multi-byte character set.

  • The system hides this from you by putting more than one field in if it’s too large, then the Notes Client displays them as if they are one field. So if the Body of a message is more than 32K chars, when you do doc props on it, you will find more than one Body field on that document. There can be dozens if not hundreds, and this is still the behaviour in R8.5.

  • So here’s the guess: @Abstract is only showing you the first Body field it finds and ignoring the rest. You can verify this by looking at the message where you get only half the body, and see:

    A) Is there more than one Body field on that message?

    B) Is the end of the first Body field the same point in the text where it’s truncating?

If the above are true you will likely have to use LotusScript to pull out the text, or as Luc suggested, do an FT Search. Or a combination: use FT Search to find the document and LotusScript to extract text.

  • Hope this helps…