Re: questions about the search function

Thomas Arendsen Hein <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
* Peter Funk <[email protected]> [20160202 12:23]:
> However when looking at http://xapian.org/docs/queryparser.html
> we see some features which look nice to have for Roundup users.

I assume that Roundup needs to be adjusted to benefit from these
features.

> If we want to work on the backends/indexer_xapian then what would 
> be the best way to get this started?

Write tests that expose the current problems, fix the problems, see
the tests pass? :-)

> Am I right in my assumption that the parameter wordlist given
> to the method Indexer.find() is the list of words input into 
> search field of the web form?

Yes, roundup/cgi/templating.py calls self.db.indexer.search() with
the list of words extracted using re.findall ...
Oh, I think I just found the cause of the ignored special chars.
I'll at it to the issue.

Regards,
Thomas

-- 
[email protected] - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.