Customize the Search Site resultset

hi,

there are a multiple number of open threads in this regard. im posting this once again to reactivate the same…hoping someone has found a solution.

i am using a search site template to search across multiple dbs (in the notes client). currently i have changed the configuration documents of all the databases as “No Index” and have only kept one database active for search for testing.

The resultset returned has the database name. I would like to change that to a field on the form. Maybe the document title. I changed the default piece of code to the below:

(the lines preceding with a * have been added by me)

If (dc.count > 0) Then

Set nl = New NotesNewsletter(dc)

  • nl.DoScore = False

  • nl.DoSubject = True

  • nl.SubjectItemName = “Subject”

    Set nldoc = nl.FormatMsgWithDocLinks(db)

    nldoc.Form = “Results”

    w.EditDocument False,nldoc,True

    Exit Sub

End If

the result now does not show the header REL%, but the score is still shown. Also, the database name appears next to the link and not the contents of the field “Subject”.

Hoping to have a solution soon.

Thanks,

Pooja