|
09-21-2004, 08:42 AM | #1 |
Green Mole
Join Date: Sep 2004
Posts: 7
|
Can only index files in a single directory
Hello,
When indexing my site, phpdig will only scan files within the parent directory, even though there are direct links to files in the child directories. If I specify phpdig index these files in the lower directory it will do so, but then it considers these files within a separate site, and on the search page I have to select the specific directory from the " Select a site to search:" drop down menu to recieve any results from these files. I want all pages to be searchable without the use having to know which directory to look in. Is there a way to make this work? Thank you. |
09-21-2004, 03:44 PM | #2 |
Green Mole
Join Date: Sep 2004
Posts: 7
|
ok, so now I can get it to index files in other directories (although I don't really know why). But now it will only index a fraction of the links then quits in the middle of indexing, like the timeout problem explained else where in these forums, but it does this only after about 15-20 links. Can anyone give me al least a direction to look in to try and get this to work?
Thanks. |
09-23-2004, 11:38 AM | #3 |
Green Mole
Join Date: Sep 2004
Posts: 7
|
ok, so I figured it out. It was timing out. Unfortunately, I can't get shell access to my account so I tried to index the site from home by installing phpdig on my machine using my local mysql installation. I then did a mysqldump of all the tables and populated the database on the remote server using these dump files. The searching on the remote machine now works well, but the context report showing the sentences the search word was used in always is blank, but on my local machine, using my local database, the context is correct. I've looked through the tables on the remote server and on my own mysql installation and they are exactly the same. What could be causing this?
|
09-27-2004, 06:57 AM | #4 |
Green Mole
Join Date: Sep 2004
Posts: 7
|
um.....hello.....does my question make no sense?
|
09-28-2004, 05:34 AM | #5 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
>> I've looked through the tables on the remote server and on my own mysql installation and they are exactly the same.
Are they for localhost rather than for domain.tld?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
09-28-2004, 07:23 AM | #6 |
Green Mole
Join Date: Sep 2004
Posts: 7
|
I indexed the files on the domain web server, and just used my local MySQL installation to store the results. Then I copied all the tables to the domain servers database.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to index only local directory files? | sf44 | How-to Forum | 0 | 01-28-2005 03:56 AM |
Indexing a directory with many files | rafarspd | How-to Forum | 2 | 12-21-2004 02:49 AM |
API to (re-)index a virtual directory | renehaentjens | Mod Submissions | 2 | 09-11-2004 07:34 AM |
Index ignores directory with space in it | Gakk Simian | Troubleshooting | 2 | 04-09-2004 10:03 AM |
How to index a directory with pdf files | simonced | How-to Forum | 3 | 02-13-2004 11:41 AM |