On Fri, 2 Dec 2011, Michael McCandless (Commented) (JIRA) wrote:

Sorry, could you also add this method to PythonReusableAnalyzerBase.java (I 
missed it in my first patch):

   @Override
   public native Reader initReader(Reader reader);

Done in rev 1209756.

Separately: how do we turn on Jira's markup like {noformat} and comment 
previews here ;)

I have no idea.
I find JIRA mail irritating anyway (it takes a whole iPhone screen to display nothing of use, like a 5 line long useless URL, for example).

Andi..


Add PythonReusableAnalyzerBase, so we can create analyzers in Python
--------------------------------------------------------------------

                Key: PYLUCENE-12
                URL: https://issues.apache.org/jira/browse/PYLUCENE-12
            Project: PyLucene
         Issue Type: Improvement
           Reporter: Michael McCandless
        Attachments: PYLUCENE-12.patch, PYLUCENE-12.patch


Lucene now has a useful helper class, ReusableAnalyzerBase; you subclass it and 
override one method, to create an analyzer that provides reusableTokenStream 
impl.
I think we should expose it in Python... patch is simple.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



Reply via email to