Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 12:35
    Fuji Kusaka
    0

    PDFIndexer

    Anyone can help me on how to index pdfs in Examine??

    Here is my ExamineSettings.config

    <ExamineIndexProviders>
        <providers>
         
          <add name="InternalIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"
               runAsync="true"
               supportUnpublished="true"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

          <add name="DemoIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"
               runAsync="true"
               supportUnpublished="false"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
               indexSet="DemoIndexSet"/>


          <add name="PDFIndexer"
                 type="UmbracoExamine.PDF.PDFIndexer, UmbracoExamine.PDF"
                 extensions=".pdf"
                 umbracoFileProperty="umbracoFile"/>


        </providers>
      </ExamineIndexProviders>
     
     
      <ExamineSearchProviders defaultProvider="InternalSearcher">
        <providers>
          <add name="InternalSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

          <add name="DemoSearcher"
               type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
               indexSet="DemoIndexSet"/>

          <!-- This search provider is used to search the PDFIndexSet. -->
          <add name="PDFSearcher"
               type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
               indexSet="PDFIndexSet" />

         
        </providers>   
      </ExamineSearchProviders>

    Am getting Config errors!!!

     

     

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Mar 24, 2011 @ 12:50
    Ismail Mayat
    0

    Fuji,

    He is what I have got for pdf indexing in ExamineIndex and ExamineSettings files respectively

    <IndexSet SetName="PDFIndexSet" IndexPath="~/App_Data/ExamineIndexes/PDFIndexSet" IndexParentId="-1"/>

     

     <add name="PDFIndexer"

                 type="UmbracoExamine.PDF.PDFIndexer, UmbracoExamine.PDF"/>

     

    Regards

    Ismail

     

     

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 13:07
    Fuji Kusaka
    0

    Hi Ismail

    Ive replaced the PDFIndexer and PDFIndexSet but still nothing is happening. Getting a web config error instead.

     

    Fuji

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Mar 24, 2011 @ 13:11
    Ismail Mayat
    0

    whats the error also are you using latest rtm of examine?

    Regards

    Ismail

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 13:11
    Fuji Kusaka
    0

    Do i need to Index the folder with Lucene???

    I gave it a try and this is the message am getting "No valid directory at the location, try another location."

     

    Fuji

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 13:15
    Fuji Kusaka
    0

    Am not sure am using the one that come with Umbraco V4.5.1

     

    Fuji

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 13:22
    Fuji Kusaka
    0

    Here is the error msg am getting

    Could not load file or assembly 'UmbracoExamine.PDF' or one of its dependencies. The system cannot find the file specified.

     

    Fuji

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Mar 24, 2011 @ 13:31
    Ismail Mayat
    0

    you probably dont have that in your bin as you have older version of examine can you download latest from codeplex.

    Regards

    Ismail

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 14:31
    Fuji Kusaka
    0

    Ive Just copied the latest version but nothing is showing up in my search.

    I returns "0" all the time.

     

    Any advise??

     

    fuji

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Mar 24, 2011 @ 14:37
    Ismail Mayat
    0

    Fuji,

    Download luke and view your index just to confirm there is something in there http://www.getopt.org/luke/

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 14:47
    Fuji Kusaka
    0

    Nothing is being index.....my result is "0" in Luke

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 15:30
    Fuji Kusaka
    0

    Weird when i paste the new Examine.dll ive lost all my indexes as well... the search is alwasy returning "0" results for bodyText and pdf as well.

     

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 24, 2011 @ 18:30
    Fuji Kusaka
    0

    Ismail

    Ok everything is back to normal but still no indexing with pdf.

     

     

     

  • Matt Taylor 873 posts 2086 karma points
    Jan 17, 2013 @ 20:45
    Matt Taylor
    0

    I'm getting the same error in a fresh install of 4.11.3.

    When I go into the Examine Dashboard (installed package) I see the following error.

    Parser Error Message: Could not load file or assembly 'UmbracoExamine.PDF' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 30: 
    Line 31:       <add name="PDFIndexer"
    Line 32: type="UmbracoExamine.PDF.PDFIndexer, UmbracoExamine.PDF"/> Line 33:       
    Line 34:     </providers>


    Source File: D:\Websites\Umbraco411\Solution1\WebApplication1\config\ExamineSettings.config    Line: 32

    All the assemblies are the latest.

    Browsing the UmbracoExamine doesn't seem to mention PDF anywhere.

    I'me using

    <IndexSet SetName="PDFIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/PDF/" IndexParentId="-1"/>

    and

    <add name="PDFIndexer" type="UmbracoExamine.PDF.PDFIndexer, UmbracoExamine.PDF"/>

    Regards,

    Matt

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 29, 2013 @ 10:58
    Ismail Mayat
    0

    have you got latest examine from codeplex?

  • Matt Taylor 873 posts 2086 karma points
    Jan 29, 2013 @ 11:45
    Matt Taylor
    0

    Hi Ismail,

    Yes, I've tried the binaries that come with 4.11.3, the Standard Examine Binaries and Umbraco Examine Binaries from CodePlex.

    All cause an error as soon as I add <add name="PDFIndexer" type="UmbracoExamine.PDF.PDFIndexer, UmbracoExamine.PDF"/> to the ExamineSettings.confg.

    I suspect it's something very simple, is the line above correct?

    Regards,

    Matt

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 31, 2013 @ 11:55
    Ismail Mayat
    0

    check your umbraco logs also are you doign anything with gatherinnode data event?

  • Matt Taylor 873 posts 2086 karma points
    Jan 31, 2013 @ 14:19
    Matt Taylor
    0

    Hi Ismail,

    I'm not using the GatheringNodeData event. In fact I've not written any code yet to use the PDF index, I'm simply trying to set the index up.

    I've got a new Umbraco 4.11.3 install with the 'Examine Dashboard' & 'FALM Housekeeping' packages installed.

    The Examine Dashboard shows:

    I add the following line to ExamineIndex.config:

    <IndexSet SetName="PDFIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/PDF/" IndexParentId="-1"/>

    and all is good, reloading the Examine Dashboard shows it has picked it up:

    Next I add the following line to line to ExamineSettings.config:

    <add name="PDFIndexer" type="UmbracoExamine.PDF.PDFIndexer, UmbracoExamine.PDF"/>

    This breaks the Examine Dashboard when I reload it:

    Parser Error Message: Could not load file or assembly 'UmbracoExamine.PDF' or one of its dependencies. The system cannot find the file specified.

    There's nothing meaningful in the logs:

     

    I do have some code that uses the ExternalIndexSet, it can be seen here.
    This also breaks when adding the PDFIndexer line to ExamineIndex.config.
    It reports:

    The type initializer for 'Examine.ExamineManager' threw an exception.

    I hope that makes sense.

    Cheers, Matt

  • rorythecheese 110 posts 56 karma points
    Feb 11, 2013 @ 16:17
    rorythecheese
    3

    Looks like you need to download the dll - UmbracoExamine.PDF.dll

    You can get it here - http://examine.codeplex.com/releases/view/77362 

    It's the 2nd one in 'other available downloads'. Umbraco Examine PDF binaries

     

     

     

     

     

  • Matt Taylor 873 posts 2086 karma points
    Feb 15, 2013 @ 11:57
    Matt Taylor
    0

    Thanks Rory, you were right.
    I don't know how I missed that. I'd had the impression that it was all built in and that you didn't need to download any other assemblies.

    Cheers, Matt

Please Sign in or register to post replies

Write your reply to:

Draft