Skip to main content.
home | support | download

Back to List Archive

[swish-e] Meta tags and swishdefault

From: Roy Tennant <roy.tennant(at)not-real.ucop.edu>
Date: Wed Mar 21 2007 - 19:29:58 GMT
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,
Roy


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Mar 21 15:29:58 2007