Copied to clipboard

Flag this post as spam?

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


  • Marco Graziotti 40 posts 166 karma points c-trib
    May 27, 2021 @ 20:48
    Marco Graziotti
    0

    Advanced search in Umbraco 9: Examine, Lucene, what's the best way to do it?

    Hi,

    I'm looking for the best way to implement an advanced search in Umbraco 9. I need to search a sentence/word inside all the website pages, using these filters:

    • Date;
    • Author;
    • Category;
    • Other custom parameters provided by my Document Type.

    And also, if it's possible, search inside uploaded documents, like PDFs. I saw that to do so in Umbraco 8 there was "Examine" and "Lucene", in Umbraco 9 do things remain the same?

    Thank you for your help

  • Benjamin Carleski 33 posts 294 karma points MVP c-trib
    May 28, 2021 @ 16:01
    Benjamin Carleski
    100

    Examine (which uses Lucene) is still available in v9. It can be used for advanced searches, as you can construct queries on specific fields and joins. Most of what worked in v8 will continue to work in v9 as is, at least on Windows systems.

    If you'd like more details on how to use Examine to write the queries you are looking for, I'd take a look at the Examine documentation at https://shazwazza.github.io/Examine/ and the Umbraco Examine reference at https://our.umbraco.com/documentation/Reference/Searching/Examine/.

Please Sign in or register to post replies

Write your reply to:

Draft