DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Lucene.NET - Keyword search

 7 Replies
 2 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 19
New Around Here

Hi

I search the website for the string 'avantgarde'.

The following behavior occurs with the following search inputs:

avantgarde => Results
avant => Results
ntgar => Results
gard => Results
garde => No Results

The record which I am searching for in the database is: WT47X940EU, Siemens Trockner avantgarde, 9kg, A+++

Does anyone have a hint for me why the search with 'garde' does not return any results? Thank you very much.

Kind Regards

Martin

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
Martin,

there is a switch under Settings :: Site Settings :: Search labeled "Enable Partial-Word Search (Slow)", which is off by default. If you turn it on, you will have the results you are looking for.

Note: You have to be logged on a superuser (host) to be able to see and change this setting.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 19
New Around Here

Hi MIchael

thanks for your answer. I had already switched to 'Enable Partial-Word Search'. Unfortunately without success.

Kind Regards
Martin

Veteran Member
Posts: 546
Veteran Member
MVP
MVP
You're an MVP!
I'd pose this question in the support forum of lucene.net.
AFAIK, lucene tries to isolate the base word, which might remove the last character, if it is supposed to be a derivate (plural, genitive, ...)
Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
Martin,

have you tried to delete the index and re-build it?

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 19
New Around Here

Hi Michael

yes, I did. But still the same issue.

Kind Regards
Martin

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

Martin,

if you have direct access to the server, you could try to stop the application pool, delete all files in the folder [WebRoot]/App_Data/Search and start the application pool again. You need to wait some time until the index is rebuilt, depending on the size of your web site.

Hope it helps... (otherwise I am running out of ideas, I would suggest to follow Sebastian's post...)

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 19
New Around Here

Hi Michael

unfortunately no changes in the behaviour. I will follow Sebastian's suggestion. Thank you for your effort.

Kind Regards
Martin

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved