PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Index files in a different location

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Sorry, was able to find the correct method in the Zoom Search Engine FAQ - Indexing databases

    Comment

    Working...
    X