Welcome! Log In Create A New Profile

Advanced

How can I search for particular user documents

Posted by JensenBreck 
How can I search for particular user documents
November 07, 2017 08:48AM
Hi

I need Sphider to index all documents but when searching
I need to somehow pass a 'user' parameter to make sure only
current user's owned documents are searched.

Any idea how can I go about this?

Thanks,
rap
Re: How can I search for particular user documents
November 14, 2017 04:15PM
The solution is rather obvious.
1. Create a 'user' column in the links database.
2. Modify the spidering process to detect the the document creator and record it in the database.
3. Modify the search process to filter out all documents which don't match the current user.

You are on your own as to the specifics on how to implement this. I doubt anyone in this forum, however, is going to write that code for you.
Sorry, only registered users may post in this forum.

Click here to login