Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anju 12 posts 32 karma points
    Oct 13, 2015 @ 10:57
    Anju
    0

    Lucene Search in Umbraco Razor

    Hi,

    I am working in Umbraco 7.2.6 version. I have a search functionality in our site. Search feature is not working properly using "Lucene" search. When I check for "Employee", I am getting results and when I tried "employee", I am not getting any result. Seems it is case sensitive.

    Tried the comment posted in this link also http://dot-net-tutorials.blogspot.in/2011/06/lucene-search-in-umbraco-searches-for.html.

    But not working after that also.

    Please hep me ASAP.

    Thanks Anju

  • Anju 12 posts 32 karma points
    Oct 15, 2015 @ 07:04
    Anju
    0

    Any ideas please??

  • Lars-Erik Aabech 349 posts 1100 karma points MVP 8x c-trib
    Oct 15, 2015 @ 08:08
    Lars-Erik Aabech
    0

    Hi Anju,

    Are you using the internal or external search instance from Examine?
    (I'm guessing you're probably using Examine, which is an "easier" API/engine around Lucene)

    You should only change the analyzer of the "external" index since Umbraco uses the internal(s) in the backoffice.

    After changing from whitespace (if it ever were) to standard analyzer, you have to go to the developer dashboard, select the examine management tab, expand indexers\externalindexer\index info & tools and click "Rebuild Index".

    If you really want to get to know how this works, I recommend reading this book:
    https://www.manning.com/books/lucene-in-action-second-edition

Please Sign in or register to post replies

Write your reply to:

Draft