简体   繁体   中英

Wildcard searches using dismax handler?

I have successfully indexed files, and want to be able to search using wildcards. I am currently using the dismaxRequestHandler (QueryType = dismax) for the searches so that I can search all the fields for the query.

A general search like 'computer' returns results but 'com*er' doesn't return any results. Similary, a search like 'co?mput?r' returns no results.

Could someone please tell me a way to continue using dismax and be able to do wildcard searches in the 'q' field? Does edismax handler have this? If so, How do I use it. I have Solr 1.4.1.

Please help me out.

Thanks.

Imran.

Grab latest (trunk) build from Hudson . Use <str name="defType">edismax</str> in the RequestHandler to activate edismax.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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