Results 1 to 2 of 2

Thread: Index files in a different location

  1. #1
    Join Date
    Apr 2012
    Posts
    4

    Default Index files in a different location

    Im building a site in Drupal 7 and using zoom to index pdf files. The problem im running into is that since Drupal is database driven there is no physical location for the search.php file.

    Is there a way to modify the code to point the search to the needed files?

    Looking over the code I assume its something to do with this section

    <code>
    $SETTINGSFILE = dirname(__FILE__)."/settings.php";
    $WORDMAPFILE = dirname(__FILE__)."/zoom_wordmap.zdat";
    $DICTIONARYFILE = dirname(__FILE__)."/zoom_dictionary.zdat";
    $PAGEDATAFILE = dirname(__FILE__)."/zoom_pagedata.zdat";
    $SPELLINGFILE = dirname(__FILE__)."/zoom_spelling.zdat";
    $PAGETEXTFILE = dirname(__FILE__)."/zoom_pagetext.zdat";
    $PAGEINFOFILE = dirname(__FILE__)."/zoom_pageinfo.zdat";
    $RECOMMENDEDFILE = dirname(__FILE__)."/zoom_recommended.zdat";
    </code>

    Thanks

  2. #2
    Join Date
    Apr 2012
    Posts
    4

    Default

    Sorry, was able to find the correct method in the Zoom Search Engine FAQ - Indexing databases

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •