Namazu search engine

I created a plugin for the Namazu search engine (http://search.namazu.org/) and I ran into one trouble spot: To get the most results back, I needed to surround all my search terms with asterisks. For example, if I’m searching for:

I would want the agentQuery to be:

In the end, I couldn’t find a way to get DA to do this. Also note that I can’t just directly put the asterisks in in the default query itself because this causes the wrong text to be identified in the “Pages” tab. I played around with the secondary query as well but the results weren’t much better.

Here’s what I’m using right now that works as long as only a single search term is used (note that I have the necessary asterisks embedded directly in the URL):

	<string>http://myserver/cgi-bin/namazu.cgi?query=*_agentQuery_*&amp;submit=Search%21&amp;idxname=archive&amp;max=_agentNumber_&amp;result=normal&amp;sort=date%3Alate&amp;whence=_agentOffset_</string>
	<key>LinksNotMatching</key>
	<array>
		<string>*namazu*</string>
	</array>
	<key>Start</key>
	<integer>0</integer>
	<key>OffsetPerPage</key>
	<integer>100</integer>
	<key>ResultsPerPage</key>
	<integer>100</integer>
	<key>OperatorsDictionary</key>
	<dict>
		<key>AND</key>
		<string>and</string>
		<key>OR</key>
		<string>or</string>
		<key>NOT</key>
		<string>not</string>
	</dict>
	<key>Operators</key>
	<integer>32827</integer>
	<key>PostScan</key>
	<false/>

Any ideas on how to get DA to work best with this search engine?

You’re probably doing a wildcard/substring search that way, this is of course returning many more results but probably many wrong results too. Especially if a word contains only 1-3 characters.

This is not possible.

I was hoping for an answer more along the lines of, this is not currently possible, but we can add that capability in a future version. Possibly something along the lines of an array of regex expressions to run on the agentQuery prior to using it.