Skip to main content.
home | support | download

Back to List Archive

Re: tabs not returned in swish result properties

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Oct 03 2003 - 21:48:20 GMT
On Fri, Oct 03, 2003 at 02:16:16PM -0700, John Burkhardt wrote:
> i've searched the docs and discussion for mention of this with no joy.  
> i'm having swish return a few fields (as properties) with the search 
> results.  i'm using tabs to delineate the data, but swish is returning 
> them as spaces.  is there a config directive to return tabs as tabs?  or 
> perhaps to insure the tabs are being indexed?
> 

In the CHANGES file:

=head2 Version 2.4.0 (Release Candidate 1)  May 21, 2003
:
=item * New Directive: PropertyNamesNoStripChars

Swish replaces all series of low ASCII chars with a single space
character.  This option instructs swish to store all chars in the
property. [moseley]

In SWIHS-CONFIG:

=item PropertyNamesNoStripChars

PropertyNamesNoStripChars specifies that the listed properties should
not have strings of low ASCII characters replaced with a space
character.  Properties will be stored as found in the document.

When printing properties with the swish-e binary newlines are replaced
with a space character.  Use the swish-e library (or SWISH::API perl
module) to fetch properties without newlines replaced.


-- 
Bill Moseley
moseley@hank.org
Received on Fri Oct 3 21:48:22 2003