Copied to clipboard

Flag this post as spam?

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


  • Aximili 177 posts 278 karma points
    Jun 10, 2011 @ 08:40
    Aximili
    0

    Building a good search engine

    I am new to Umbraco and Lucene. I have found a lot of code and articles on Lucene, but I still can't build an acceptable search.

    I have these fields: "nodeName" and "bodyText"

    What I need:

    • When I search for "men shoes", it should only return results that have both "men" and "shoes", but also return a page where the nodeName only has "shoes" and the bodyText only has "men".
    • When I search for "shoes", I want results containing "shoe" or "shoes." but not "hoes" if possible
    • Boost the nodeName field
    • Get a snippet of bodyText that contains the matched word(s)
    • Highlight the matched words on both the page name and the snippet of the bodyText

    Has anyone ever done this?

Please Sign in or register to post replies

Write your reply to:

Draft