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_*&submit=Search%21&idxname=archive&max=_agentNumber_&result=normal&sort=date%3Alate&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?