Has anyone got a way, using the SWISHE perl interface, to retrieve a list
of valid properties from an index? Obviously it can be done from the
command line via swishe -T INDEX_METANAMES -f whatever.index , augmented by
some grepping and cutting, but I don't see a way to do it from within perl.
Obviously there's a not-unreasonable assumption here that if you're running
a site you oughta know what properties you indexed the thing with, or at a
minimum be able to find the config file that memorializes those decisions.
But it would be nice to be able to do sanity-checking on properties before
submitting them in a query, particularly in environments (like the Mason
templating system) where the "bad property" error will not be reported and
the app will sink without a trace.
Thomas R. Bruce (firstname.lastname@example.org)
Co-Director, Legal Information Institute
Cornell Law School
Received on Wed Feb 5 13:39:17 2003