Skip to main content.
home | support | download

Back to List Archive

Re: displaying indexed doc's content in results

From: Nicholas W. Miller <nick(at)not-real.intercastmedia.com>
Date: Fri Mar 31 2006 - 14:09:26 GMT
On Mar 31, 2006, at 5:40 AM, Peter Karman wrote:

> what's your config file look like? how are you indexing? these, and  
> other stimulating answers, will lead us down a profitable road.

In preparing a response to your e-mail, I discovered the  
StoreDescription tag in the config file and realized I didn't have an  
entry for TXT*.  By adding StoreDescription TXT*, I was able to  
return the contents of the doc in my search results.

Thanks for asking the right questions : )

Nick

>
> Nicholas W. Miller scribbled on 3/30/06 6:47 PM:
>> I'm using the command line to submit searches to Swish-e with a   
>> command like this:
>> swish-e -w "searchterm" -x '%t ::::: %p ::::: %r ::::: %l ::::: %  
>> d ::::: %D ::::: %I\n' -f /home/test/www/testtech.com/  
>> search/test_search.index
>> This works great for HTML and PDF files, but Word documents don't   
>> return any content for the %d variable.  For HTML and PDF files, % 
>> d  will return the contents of the file.  How can I get Swish-e  
>> to  return the contents of Word docs?  Swish-e is indexing these  
>> docs  successfully ... I can search for keywords in the docs and I  
>> get them  returned as a search result ... but the %d value is empty.
>> Thanks!
>> Nick
>
> -- 
> Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
Received on Fri Mar 31 06:09:27 2006