Skip to main content.
home | support | download

Back to List Archive

Re: searching in one file

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Sep 23 2003 - 17:45:10 GMT
On Tue, Sep 23, 2003 at 07:21:48AM -0700, Leon wrote:
> Hi all,
> I want to index one file 
> something like
> ******************************** 
> <val>   001
>              <adr>  a1 </adr>
>              <ozn>  b1 </ozn>
> </val>
> 
> <val>   002
>              <adr>  a2 </adr>
>              <ozn>  b2 </ozn>
> </val>
> 
> <val>   003
>             <adr>  a3 </adr>
>             <ozn>  b3 </ozn>
> </val>
> **********************************
> 
> val adr ozn are Metanames and PropertyNames
> document in xml format
> 
> comand  swish-e -w 'val=001' -p val 
> return all values in file ( 001 a1 b1   002 a2 b2  003
> a3 b3)
> 
> how I can return fields whish is satisfy the
> conditions
> of searching.

Swish-e searches files.  So split your document into smaller "files" --
use -S prog and a parser to split up your document into sub documents
and index those.


> 
> Thanks.
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
Received on Tue Sep 23 17:45:19 2003