Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] searching metanames and document

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Tue Nov 06 2007 - 03:12:07 GMT
see http://swish-e.org/archive/2004-04/7269.html

you need to alias your top-level XML tag to swishdefault.

Michael Peters wrote on 11/5/07 4:50 PM:
> Bill Moseley wrote:
> 
>> swish-e -w perl is shortcut notation for
>> swish-e -w swishdefault=perl
>>
>> swishdefault is the metaname used if no other metaname is in active
>> for a word when indexing.
> 
> Right, but doesn't everything make it's way to swishdefault? That's what I thought
> 
>   Swish also, by default, indexes content of meta tags. So 'swish-e -w foo' will
>   find "foo" in the body, the title, or any meta tags
> 
> meant.
> 
>> Try indexing with -T indexed_words to see what meta tag each word is
>> indexed with.
> 
> That shows this line for the word "perl"
> 
>     Adding:[1:title(19)]   'perl'   Pos:181  Stuct:0x1 ( FILE )
> 
> And nothing else. I know it's getting indexed under "title", but shouldn't it
> also be under "swishdefault"?
> 

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Nov 5 22:12:07 2007