lightbox
Active member
Hi, I'm a happy elasticsearch user but we do experience a nasty issue.
As soon as we use the enhanced search options to search with "Display results as threads" checkbox ticked, we only get 1 thread (actually thread #1 from 14 years ago) as a result.
I've spent 2 hours reading and searching for a solution to no avail, so I'm kindly asking for help.
It's kind of strange because the above does work on xenforo.com but on www.tutorials.de it won't work. Any suggestions?
Cheers
Martin
PS: Here's our current mapping
As soon as we use the enhanced search options to search with "Display results as threads" checkbox ticked, we only get 1 thread (actually thread #1 from 14 years ago) as a result.
I've spent 2 hours reading and searching for a solution to no avail, so I'm kindly asking for help.
It's kind of strange because the above does work on xenforo.com but on www.tutorials.de it won't work. Any suggestions?
Cheers
Martin
PS: Here's our current mapping
Code:
"mappings":{
"thread":{
"_source":{"enabled":false},
"properties":{
"date":{"type":"long","store":true},
"discussion_id":{"type":"long","store":true},
"message":{"type":"string"},
"node":{"type":"long"},
"prefix":{"type":"long"},
"thread":{"type":"long"},
"title":{"type":"string"},
"user":{"type":"long","store":true}
}
},
"resource_update":{
"_source":{"enabled":false},
"properties":{
"date":{"type":"long","store":true},
"discussion_id":{"type":"long","store":true},
"is_resource":{"type":"long"},
"message":{"type":"string"},
"rescat":{"type":"long"},
"resource":{"type":"long"},
"title":{"type":"string"},
"user":{"type":"long","store":true}
}
},
"post":{
"_source":{"enabled":false},
"properties":{
"date":{"type":"long","store":true},
"discussion_id":{"type":"long","store":true},
"message":{"type":"string"},
"node":{"type":"long"},
"prefix":{"type":"long"},
"thread":{"type":"long"},
"title":{"type":"string"},
"user":{"type":"long","store":true}
}
},
"profile_post":{
"_source":{"enabled":false},
"properties":{
"date":{"type":"long","store":true},
"discussion_id":{"type":"long","store":true},
"message":{"type":"string"},
"profile_user":{"type":"long"},
"title":{"type":"string"},
"user":{"type":"long","store":true}
}
},
"page":{
"_source":{"enabled":false},
"properties":{
"date":{"type":"long","store":true},
"discussion_id":{"type":"long","store":true},
"message":{"type":"string"},
"title":{"type":"string"},
"user":{"type":"long","store":true}
}
}
}