View Single Post
Old 01-07-2004, 05:38 PM   #3
laurentxav
Green Mole
 
Join Date: Jan 2004
Location: Belgium
Posts: 11
Ok, but it's not the problem... Sorry but my english isn't very perfect, I'm french-speaking !

Mywebsite is a complete site including all departments. PhpDig must crawl all available departments. But, when a visitor is surfing department 2 and use PhpDig for searching for something, I would like PhpDig return results located only into the department surfed by the visitor (the 2nd in this case).

So, for example, if the search query has results in many departments but the visitor is surfing department 2, i'd like to shown results for department 2 only.

A solution would be to install PhpDig in each directory, to create databases as much as necessary and to index and crawl each directory (department) separately. But this is a little complicated. Is there another possibility to ask PhpDig returning results in selected directory and not in the full indexed site ?

Thanks
laurentxav is offline   Reply With Quote