Gert Ken Graf wrote on 10/13/12 12:47 PM:
> Hi,
>
> using SWISH-E 2.4.7 on FreeBSD 9.0-RELEASE.
>
> I come from an old version (SWISH-E 1.3) and used to search multiple
> index files generated by swish-e. The results where sorted by
> "IndexDescription".
>
> In the old index files, this "IndexDescription" was in the top of the
> index file.
>
> In the new index files, generated by SWISH-E 2.4.7 I can't seem to
> find the IndexDescription anymore.
>
> Is there a way to show the IndexDescription using Perl ?
>
you can view all the index header info with
% swish-e -T index_header
or get at it with the Perl SWISH::API like this:
my $idx = 'path/to/index.swish-e';
my $swish = SWISH::API->new( $idx );
my $desc = $swish->header_value( $idx, 'Description' );
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Sun Oct 14 2012 - 01:38:38 GMT