Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Meta tags and swishdefault

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Wed Mar 21 2007 - 19:36:43 GMT
Roy Tennant scribbled on 3/21/07 2:29 PM:
> At the risk of yet another stupid question, I'm puzzling over the right
> settings for being able to limit searches to particular tags but also search
> across all tags. 
> 
> My conf file looks like:
> 
> IndexDir /path/to/onix/data
> IndexOnly .onix
> IndexContents XML* .onix
> IndexFile /path/to/onix/onix.index
> ReplaceRules replace "/path/to/onix/" ""
> UndefinedMetaTags auto
> PropertyNames b028 b029 b081 b004 b203 b031 d104
> 
> The PropertyNames are tags that would presumably get picked up in the
> UndefinedMetaTags operation. Here's what happens:
> 
>> swish-e -w 'before taliban' -f onix.index
> # SWISH format: 2.4.2
> # Search words: before taliban
> # Removed stopwords:
> err: no results
> .
> 
>> swish-e -w 'title=(before taliban)' -f onix.index
> # SWISH format: 2.4.2
> # Search words: title=(before taliban)
> # Removed stopwords:
> # Number of hits: 2
> # Search time: 0.007 seconds
> # Run time: 0.078 seconds
> 1000 data/ucpress-6519.onix "ucpress-6519.onix" 4567
> 1000 data/ucpress-2721.onix "ucpress-2721.onix" 4806
> 
> 
> So what am I doing wrong? Thanks,

this is a FAQ, so not a stupid question at all.

see http://swish-e.org/archive/2004-04/7269.html

-- 
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 Wed Mar 21 15:36:44 2007