哪个是最好的Postfix Log分析仪?我们正在为postfix寻找好的日志分析器.我们需要分析以下内容
是否可以查看所有邮件状态的主题而不是邮件ID?我的意思是审查单个邮件的状态.
我们现在正在使用Sawmill分析仪.但管理层对锯木厂的报告不满意,因为它缺少单一的信息状态和主题.
我根据http://wiki.apache.org/solr/SpellCheckComponent中的文档实现了Solr SpellCheck组件,它运行良好.但我试图 根据其他一些过滤器过滤拼写检查结果.请考虑以下架构
product_name
product_text
product_category
product_spell -> copy string from product_name and product_text . And tokenized using white space analyzer
Run Code Online (Sandbox Code Playgroud)
对于上面的架构,我试图根据提供的类别过滤拼写检查结果.我尝试查询如http://127.0.0.1:8080/solr/colr1/myspellcheck/?q=product_category:160%20appl&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true.拼写检查结果不考虑product_category:160
是因为字典是为所有类别构建的吗?如果是这样,为每个类别创建字典是个好主意?
拼写检查组件中是否有其他过滤条件?
我使用的是solr 3.5
以下代码在使用相机拍摄照片时效果很好,但是当用户点击视频时应用程序崩溃.
let imagePicker = UIImagePickerController()
imagePicker.modalPresentationStyle = .currentContext
imagePicker.delegate = self
if let _ = UIImagePickerController.availableMediaTypes(for: .camera) {
imagePicker.mediaTypes = UIImagePickerController.availableMediaTypes(for: .camera)!
if UIImagePickerController.isSourceTypeAvailable(.camera) {
imagePicker.sourceType = .camera
present(imagePicker, animated: true, completion: nil)
}
}
Run Code Online (Sandbox Code Playgroud)