Skip to main content.
home | support | download

Back to List Archive

[swish-e] Searching all properties?

From: Jordan Hayes <jmhayes(at)not-real.speakeasy.net>
Date: Fri Apr 11 2008 - 17:05:37 GMT
Is there a simple way to get swish-e to search all the properties?

Here's my example:
---
% cat swish-e.conf
IndexDir .

IndexOnly .xml
IndexReport 0
IndexContents XML* .xml

UndefinedMetaTags auto
PropertyNamesNumeric foo bar

ParserWarnLevel 0
---
% cat 1.xml
<document>
 <foo>123</foo>
 <bar>456</bar>
</document>
---
% swish-e -c swish-e.conf 
---
% swish-e -w 123
# SWISH format: 2.4.5
# Search words: 123
# Removed stopwords: 
err: no results
.
---
% swish-e -w foo=123
# SWISH format: 2.4.5
# Search words: foo=123
# Removed stopwords: 
# Number of hits: 1
# Search time: 0.000 seconds
# Run time: 0.012 seconds
1000 ./1.xml "1.xml" 55
.
---

Or am I just forgetting something in my config file? :)

Thanks,

/jordan

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Apr 11 13:06:04 2008