I have an XPage
application which is running on a Domino Server 8.5.3 FP6
without any FTSearch problems
.
Since a couple of weeks I am working on the migration to Domino Server 9.0.1 FP3
.
Now it seems we have to deal with this bug
Remember: We have no troubles on Domino Server 8.5.3 FP6
!
In the above IBM technote you can find a paragraph Resolving the Problem that decribes a workaround running the FTSearch on the ViewEntryCollection instead of the View Object
Example (Domino Server 9.0.1 crashs):
var nview:NotesView = database.getView("luDocumentsDownloadsHistory");
nview.FTSearch("[Downloader] = Homer Simpson/ncdev");
var col:NotesViewEntryCollection = nview.getAllEntries();
var viewEntry:NotesViewEntry = col.getFirstEntry();
while (viewEntry != null) {
var tmpEntry:NotesViewEntry = col.getNextEntry();
viewEntry.recycle();
viewEntry = tmpEntry;
}
Example (with Workaround no crash):
var nview:NotesView = database.getView("luDocumentsDownloadsHistory");
var col:NotesViewEntryCollection = nview.getAllEntries();
col.FTSearch("[Downloader] = Homer Simpson/ncdev");
var viewEntry:NotesViewEntry = col.getFirstEntry();
while (viewEntry != null) {
var tmpEntry:NotesViewEntry = col.getNextEntry();
viewEntry.recycle();
viewEntry = tmpEntry;
}
However, this workaround isn't working for me, because I have to work with <xp:dominoView var="viewData" search="[FieldName] = FieldValue">
using the search-Attribute. Therefore it is not possible for me to move the FTSearch call from the View to the ViewEntryCollection.
Any idea why this problem comes up with Domino 9.0.1 FP3?
niew.clear
then the server dosn't crash but I get all entries in theViewEntryCollection
and not a filtered result. – Georg Kastenhofer