Copied to clipboard

Flag this post as spam?

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


  • mayuri 11 posts 81 karma points
    Apr 26, 2016 @ 06:42
    mayuri
    0

    One common search for two applications having different databases

    Hi guys,

    I need to implement a common search for two applications which have their own databases.

    Is it possible using ezSearch?

    I want a full text searcher (one text input field + submit button) that searches into all contents + pdf files of first application and also in all Products contents of second application.

    Please suggest me some way or any plugin to achieve this. Its urgent!

    Thanks in advance.

  • Ryan 24 posts 106 karma points
    Apr 26, 2016 @ 10:26
    Ryan
    0

    This thread might help. It looks like the general approach is to extend Examine (based on Lucene search) which comes with Umbraco to also index PDF. This is typically done using a 3rd party .NET library to parse PDF files. After parsing, the text is then indexed in Examine using code. This leaves some obvious questions open but the thread is massive and hopefully answers some of those for you:

    https://our.umbraco.org/forum/developers/extending-umbraco/8658-Umbraco-Examine-PDF-Indexing

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Apr 26, 2016 @ 11:06
    Ismail Mayat
    0

    Mayuri,

    ezSearch will search umbraco content only. It looks to me as though you want:

    1. Umbraco content search
    2. PDFs in umbraco
    3. Database content in separate custom table/s in Umbraco.

    Is this correct?

    If so then you will need to do a few things.

    1. Install pdf indexer package so that you get a pdf index
    2. Create you own custom indexer to index the db content.
    3. Write your own search that will use multi searcher to search over external index (you already get this with umbraco) and pdf index and db index.

    You will need todo some reading

    https://github.com/Shazwazza/Examine https://our.umbraco.org/Documentation/Reference/Searching/Examine/

    Regards

    Ismail

  • mayuri 11 posts 81 karma points
    May 10, 2016 @ 05:49
    mayuri
    0

    Done!

    I did it using web apis. Got the list of categaries & products using web-api and then applied search on them. After that, append that search result to content/media(pdf) search result.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft