At 01:12 AM 11/29/01 -0800, Malcolm Box wrote:
>If I run:
>
>swish-e -p "DocumentSource" -p "DatabaseName" -c
>./swish/swish-e-2.1-dev-24/prog-bin/notes.conf -w alan
>
>I get the returned matches including the DocumentSource and DatabaseName
>properties (both defined in notes.conf).
>However, if I run:
>
>swish-e -c ../swish/swish-e-2.1-dev-24/prog-bin/notes.conf -x
>"<DocumentSource>\t<DatabaseName>" -w alan
>
>I simply get (NULL) (NULL) returned as the search result. From my
>reading of the docs, this should return the same two strings and were
>returned in the first version.
Yep, it's a bug:
Indexing Data Source: "File-System"
swishdocpath: 6 ( 6) S: "1.html"
swishdocsize: 8 ( 4) N: "0000000000107"
swishlastmodified: 9 ( 4) D: "2001-11-29 04:48:07"
documentsource:10 ( 13) S: "docsourceword"
lii@mardy:~/swish-e/src > ./swish-e -w not kdkdk -x '<DocumentSource>\n'
# SWISH format: 2.1-dev-24
# Search words: not kdkdk
# Number of hits: 1
# Search time: 0.000 seconds
# Run time: 0.005 seconds
(NULL)
.
lii@mardy:~/swish-e/src > ./swish-e -w not kdkdk -x '<documentsource>\n'
# SWISH format: 2.1-dev-24
# Search words: not kdkdk
# Number of hits: 1
# Search time: 0.000 seconds
# Run time: 0.005 seconds
docsourceword
.
I'll patch that later today. For now can you use lowercase property names?
Bill Moseley
mailto:moseley@hank.org
Received on Thu Nov 29 12:52:34 2001