@PitaJ thanks for your reply, but it's not what I'm asking for I can't use google, of course, and I won't add another plugin which would just add to the already annoying load problem I'm experiencing.
So, I think this is clearly a bug. Whatever the dbsearch plugin is trying to do- it is doing it completely wrong. In fact, I think the index it creates on MongoDB is wrong, since I can reproduce the invalid search results from mongo shell as well:
> db.searchtopic.find( { $text: { $search: "Semmel" }})
[no output]
> > db.searchpost.find( { $text: { $search: "Semmel" }})
> { "_id" : ObjectId("5a9d818cd19a243c1a362c28"), "id" : 1201, [..]
So, only searching topics returns no result and posts returns 1 result. However, in reality there are 3 topics matching the string Semmel
:
> db.objects.find( { _key: "topic:178" });
{ "_id" : ObjectId("5a9d818cd19a243c1a362c15"), "_key" : "topic:178", "tid" : 178, "uid" : 3, "cid" : 24, "mainPid" : 1201, "title" : "Semmelknödel ala Tom", "slug" : "178/semmelknödel-ala-tom", "timestamp" : 1520271756137, "lastposttime" : 1520277378816, "postcount" : 7, "viewcount" : 12, "locked" : 0, "deleted" : 0, "pinned" : 0, "upvotes" : 2, "downvotes" : 0, "teaserPid" : "1212" }
> db.objects.find( { _key: "topic:362" });
{ "_id" : ObjectId("5ac49e3cd19a243c1a36e9f3"), "_key" : "topic:362", "tid" : 362, "uid" : 6, "cid" : 29, "mainPid" : 2826, "title" : "Semmelknödelteig", "slug" : "362/semmelknödelteig", "timestamp" : 1522835004299, "lastposttime" : 1522847285369, "postcount" : 4, "viewcount" : 10, "locked" : 0, "deleted" : 0, "pinned" : 0, "teaserPid" : "2840" }
> db.objects.find( { _key: "topic:367" });
{ "_id" : ObjectId("5ac4f7ced19a243c1a36ed50"), "_key" : "topic:367", "tid" : 367, "uid" : 6, "cid" : 23, "mainPid" : "2852", "title" : "Semmelknödel a la Tom...", "slug" : "367/semmelknödel-a-la-tom", "timestamp" : 1522857934277, "lastposttime" : 1522866479077, "postcount" : 20, "viewcount" : 12, "locked" : 0, "deleted" : 0, "pinned" : 0, "teaserPid" : "2907", "thumb" : "", "upvotes" : 2, "downvotes" : 0 }
(and many more posts)
What is weird as well is the index language setting: "default_language" : "english"
, but I'm using german as forum language.