Skip to main content.
home | support | download

Back to List Archive

Re: segmentation fault with version 2.5.4 and

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Tue May 31 2005 - 14:48:58 GMT
thanks, Andreas.

Andreas Seltenreich wrote on 05/31/2005 09:39 AM:
> Peter Karman writes:
> 
> 
>>is this a correct description for the SWISH-CONFIG doc:
>>
>>=item PropertyNamesUseStrcoll yes|no
>>
>>Enables locale-aware sorting of the upper 128 characters of ISO-8859-1.
>>
>>??
> 
> 
> Not quite, it is used like
> PropertyNamesCompareCase/PropertyNamesIgnoreCase.
> 
> Attached is a patch for the Documentation. But I'm not sure if this
> will get into the next stable release, since the current
> strcoll-solution was written by Bill Moseley, and IIRC he had some
> concerns about its compatibility with the incremental-feature.
> 
> regards,
> Andreas
> 
> Index: SWISH-CONFIG.pod
> ===================================================================
> RCS file: /cvsroot/swishe/swish-e/pod/SWISH-CONFIG.pod,v
> retrieving revision 1.90
> diff -c -r1.90 SWISH-CONFIG.pod
> *** SWISH-CONFIG.pod	28 May 2005 19:22:20 -0000	1.90
> --- SWISH-CONFIG.pod	31 May 2005 14:33:19 -0000
> ***************
> *** 362,367 ****
> --- 362,371 ----
>   
>   =item *
>   
> + L<PropertyNamesUseStrcoll|/PropertyNamesUseStrcoll> *list of meta names*
> + 
> + =item *
> + 
>   L<PropertyNamesNoStripChars|/PropertyNamesNoStripChars> *list of meta names*
>   
>   =item *
> ***************
> *** 1427,1432 ****
> --- 1431,1438 ----
>   
>   =item PropertyNamesIgnoreCase *list of meta names*
>   
> + =item PropertyNamesUseStrcoll *list of meta names*
> + 
>   Swish-e allows you to specify certain META tags that can be used as B<document
>   properties>.  The contents of any META tag that has been identified as a
>   document property can be returned as part of the search results along with the
> ***************
> *** 1463,1468 ****
> --- 1469,1483 ----
>   
>       PropertyNamesCompareCase swishtitle    
>   
> + Due to the limitations of C<PropertyNamesCompareCase> and
> + C<PropertyNamesIgnoreCase> to the ASCII part of iso-8859-1, there is
> + also an alternative of using the operating system's locale facility
> + when sorting results.  In order to sort accented characters or umlauts
> + according to your system's locale, you need to explicitly enable this
> + feature using C<PropertyNamesUseStrcoll>.
> + 
> +     PropertyNamesUseStrcoll swishtitle
> + 
>   Use of PropertyNames will increase the size of your index files, sometimes
>   significantly.  Properties will be compressed if Swish-e is compiled with zlib
>   as described in the L<INSTALL|INSTALL> manual page.

-- 
  Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Tue May 31 07:49:04 2005