Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] How to populate swishdefault?

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Thu Apr 30 2009 - 01:00:09 GMT
Roy Tennant wrote on 4/29/09 2:29 PM:
> My conf file looks like this:
> 
> IndexDir /home/default/htdocs/proto/hathi/open2
> IndexOnly .xml
> IndexContents XML* .xml
> IndexFile open.index
> ReplaceRules replace "/home/default/htdocs/proto/hathi" ""
> UndefinedMetaTags auto
> PropertyNames v245 c001 v100 v260
> MetaNamesRank 10 v245
> MetaNamesRank -10 v260
> 
> and I think the use of "UndefinedMetaTags" has depopulated the
> swishdefault index. How do I set it up so that everything can be both
> searched by field and also searched across the entire document via
> swishdefault? I couldn't find this in the documentation although I
> thought I had remembered something there before.

If using libxml2, and you know your top-level tag, you should be able to do:

 MetaNameAlias swishdefault topleveltagname

see http://swish-e.org/archive/2004-08/8047.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 Apr 29 21:00:08 2009