[pmwiki-users] Search accross Fields

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 2 14:32:38 CST 2006

On Mon, Feb 27, 2006 at 05:01:09AM +0100, Igor Galić wrote:
> Hello List,
> I'm using a WikiFarm to centralize 5 wiki's which belong together.
> I'm doing this to ease the pain of configuration, as it's for "users" 
> who will not want to create articles specifically with a certain 
> Group prepended.

In this case, I think it's far easier to use a single wiki with multiple
groups than it is to do a wikifarm.  In fact, this is exactly
the sort of application that WikiGroups were originally designed to 
solve.  :-)

The users don't need to be aware that there are multiple groups -
they just create links w/o group names in them and it appears (to
them) as though they have a wiki that is logically separate from 
the others.

> This application will have to be able to search accross fields, 
> so I was wondering what would be the most comfortable way to do this?

Well, it'll be slow, but you could try creating a special "field" 
in the farm that has read-only references to the wiki.d/ directories
of each of the other fields.  Searches in this special field would
then look through all of the pages of the other fields.

I have no idea how the .pageindex would function in this case --
probably not very cleanly.  It might need to be disabled for
this special field.


More information about the pmwiki-users mailing list