简体   繁体   English

Solr Dismax解析器中带有查询的拼写校正

[英]spelling correction with query in solr dismax parser

i am using dismax parser to query the data in the field 我正在使用dismax解析器查询字段中的数据

<field name="object_description" type="text_general" indexed="true" stored="true" />

in standard query parser if i search for the term "object_description:Traditional" it gives me 13 results, also if i search for "object_description:Tradiional~1" it gives me 13 results which is correct 在标准查询解析器中,如果我搜索“ object_description:Traditional”一词,它会给我13个结果;如果我搜索“ object_description:Tradiional〜1”,它会给我13个结果,这是正确的

my question is how do i implement it using dismax parser. 我的问题是我如何使用Dismax解析器实现它。 can i do it in url or do i have to make changes in configurations?? 我可以在url中进行操作还是必须对配置进行更改?

thanx in advance 预先感谢

dismax解析器不允许模糊搜索,因此我使用了支持它的edismax解析器,但是模糊搜索的查询时间增加了很多

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM