PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 04-09-2004, 08:35 AM   #1
marb
Green Mole
 
Join Date: Mar 2004
Posts: 19
What about the text_content file

Have install phpdig more than one time in different dirs.
The content in text_content file is in dir (set dir 777)a 644 and dir b 666.
Dir b have the keep alive text dir a not.
How can that there are differents?
By spidering the text_content is growing ferry big.
Q. 1 Is it possible to put the text_content file also in the DB.
Q.2 What happens if should empty the text_content file after
spidering. What is the function of that file?


Marten

Last edited by marb; 04-09-2004 at 09:14 AM.
marb is offline   Reply With Quote
Old 04-10-2004, 01:33 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. For question one, only the first words of a page are currently stored in the table. For question two, the text_content directory is used in the search process. You can set define('CONTENT_TEXT',1); to zero in the config file so that just the first words are used in the search results, but the highlighting currently doesn't work the same as when using the text_content directory.
__________________
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.
Charter is offline   Reply With Quote
Old 04-12-2004, 03:24 AM   #3
marb
Green Mole
 
Join Date: Mar 2004
Posts: 19
Charter wrote;
Quote:
Hi. For question one, only the first words of a page are currently stored in the table.
Thanks for the reply;
Is it possible to store more words in the table in case of use text_content?

Reasen is that I use phpdig in more than 1 url with one DB.
If I use text_content (it's a nice option) I must copy that file
evertime after new spider to the other url to get it equal.
That's not a big problem but the file grow bigger and bigger.
In my case it's now about 450 mb for more than 18000 url's.

Marten
marb is offline   Reply With Quote
Old 04-12-2004, 11:42 PM   #4
renehaentjens
Orange Mole
 
Join Date: Nov 2003
Posts: 69
In my config file, I have:
define('SUMMARY_LENGTH',50000); // instead of 500
define('CONTENT_TEXT',0);
__________________
René Haentjens, Ghent University
renehaentjens is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is text_content for ? noel How-to Forum 1 11-01-2005 04:53 PM
PhpDig and Mysql without text_content vodevil Script Installation 1 04-06-2005 02:42 PM
everything in text_content is 0 bytes HELP! warrence Troubleshooting 1 12-01-2004 03:06 AM
text_content files funsutton How-to Forum 0 11-01-2004 01:16 AM
Put text_content in DB? renehaentjens Mod Requests 0 11-27-2003 07:45 AM


All times are GMT -8. The time now is 11:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.