Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] How to see neighbouring words around my search-hit ?

From: Raemaekers Mark <markraem(at)not-real.yahoo.com>
Date: Tue Apr 14 2009 - 10:24:59 GMT
Peter,

Thank you.

"you're likely seeing the first line because swish-e uses the first
 line as swishtitle in TXT docs."

Is there a way to get rid of this behaviour ? I am not interested to see the first line, but only the neighbouring lines of a searchword.




--- On Mon, 4/13/09, Peter Karman <peter@peknet.com> wrote:

> From: Peter Karman <peter@peknet.com>
> Subject: Re: [swish-e] How to see neighbouring words around my search-hit ?
> To: "Swish-e Users Discussion List" <users@lists.swish-e.org>
> Date: Monday, April 13, 2009, 4:04 PM
> Raemaekers Mark wrote on 04/10/2009 08:31 AM:
> 
> > 
> > Is it because I am indexing .tcl files that this
> feature is not working correctly ?
> > 
> > 
> 
> no. you're likely seeing the first line because swish-e
> uses the first
> line as swishtitle in TXT docs.
> 
> You need to add StoreDescription to get swishdescription
> property for TXT.
> 
> > here you see my swish.conf file :
> > 
> > 
> > IndexOnly .tcl 
> > IndexDir /tests/tclprocs
> > 
> > IndexComments yes
> > DefaultContents TXT*
> > IndexReport 1
> > 
> > # to test the RankScheme
> > IgnoreTotalWordCountWhenRanking 0
> 
> # store the first 10K
> StoreDescription TXT* 10000
> 
> 
> 
> 
> -- 
> Peter Karman  .  peter(at)not-real.peknet.com  .  http://peknet.com/
> 
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users


      
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Apr 14 06:25:00 2009