简体   繁体   中英

Searching with a multilist field in Lucene.NET

I am using Sitecore and the Lucene.NET for indexing content.

While performing the search lucene does not give the results from the multilist field.

I recommended you take a look at Alex Shyba's Advanced Database Crawler which does a good job at using Lucene.NET with Sitecore. Here's a blog post on his blog introducing this new tool.

Also, take a look at his post on an issue with Treelist fields not registering links to other items. I also used a multilist (treelist to be specific) field for the scenario you mentioned and this trick seemed to help. My question to him actually may have spurred his blog post as he emailed me the trick then posted it. This may or may not help you depending on how you're integrating Sitecore and Lucene.NET.

Note : depending on the version of Sitecore you're using, the Link Database might need to get updated to handle these multilist associations to other items. Alex also has another blog post on code to help with that .

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