Is it possible to make swish find a star *, or a string of stars =
******** ?
below are some of my attempts and error messages
$ swish-e -V
SWISH-E 2.4.0
$ uname -a
SunOS as1 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-4
$ swish-e -w "*" -H 9
# SWISH format: 2.4.0
# Search words: *
#
# Index File: index.swish-e
# Name:=20
# Saved as: index.swish-e
# Total Words: 3547
# Total Files: 32
# Indexed on: 2003-12-31 19:25:54 GMT
# Description: core_routers data directory but not SCCS sub directory
# Pointer:=20
# Maintained by:=20
# MinWordLimit: 1
# MaxWordLimit: 100
# WordCharacters: *.0123456789abcdefghijklmnopqrstuvwxyz
# BeginCharacters: *0123456789abcdefghijklmnopqrstuvwxyz
# EndCharacters: *0123456789abcdefghijklmnopqrstuvwxyz
# IgnoreFirstChar: .
# IgnoreLastChar: .
# StopWords:
# BuzzWords:
# Stemming Applied: 0
# Soundex Applied: 0
# Fuzzy Mode: None
# IgnoreTotalWordCountWhenRanking: 1
# Search words: *
# Parsed Words: *=20
# Removed stopwords:=20
#
err: Single wildcard not allowed as word
.
$=20
$ swish-e -w '"*"' -H 9
# SWISH format: 2.4.0
# Search words: "*"
#
# Index File: index.swish-e
# Name:=20
# Saved as: index.swish-e
# Total Words: 3547
# Total Files: 32
# Indexed on: 2003-12-31 19:25:54 GMT
# Description: core_routers data directory but not SCCS sub directory
# Pointer:=20
# Maintained by:=20
# MinWordLimit: 1
# MaxWordLimit: 100
# WordCharacters: *.0123456789abcdefghijklmnopqrstuvwxyz
# BeginCharacters: *0123456789abcdefghijklmnopqrstuvwxyz
# EndCharacters: *0123456789abcdefghijklmnopqrstuvwxyz
# IgnoreFirstChar: .
# IgnoreLastChar: .
# StopWords:
# BuzzWords:
# Stemming Applied: 0
# Soundex Applied: 0
# Fuzzy Mode: None
# IgnoreTotalWordCountWhenRanking: 1
# Search words: "*"
# Parsed Words:=20
# Removed stopwords:=20
#
err: No search words specified
.
$ cat swish.conf
IndexDescription "core_routers data directory but not SCCS sub =
directory"
IndexDir /usr/local/tools/autosave/data/core_routers
DefaultContents TXT
StoreDescription TXT 200
FileRules directory contains ^s\.
WordCharacters .abcdefghijklmnopqrstuvwxyz0123456789*
BeginCharacters abcdefghijklmnopqrstuvwxyz0123456789*
EndCharacters abcdefghijklmnopqrstuvwxyz0123456789*
IgnoreFirstChar .
IgnoreLastChar .
MaxWordLimit 100
$=20
$ swish-e -T INDEX_WORDS_ONLY | more
*
*********************************************
***********************************************************************
0
0.0.0.0
0.0.0.1
a small piece of one of the files causing trouble
banner exec "
***********************************************************************
* *
* PLEASE NOTE THAT ACL 131 HAS BEEN ADDED TO THIS ROUTER TO *
* PROTECT AGAINST THE CISCO PSIRT VULNERABILITY. *
* PLEASE DO NOT REMOVE. ANY ISSUES PLEASE CONTACT JOHN SYMS - *
* IP NETWORK & SERVICE IMPROVEMENT 020 7492 6016 *
* *
***********************************************************************
"
Kind Regards
Mark Tynan
Alphatech Designs
email: mark.tynan@alphatech-designs.com
tel: 01473 233380
*********************************************************************
Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
*********************************************************************
Received on Fri Jan 2 11:38:55 2004