[ https://issues.apache.org/jira/browse/LUCENE-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721985#action_12721985 ]
Mark Miller commented on LUCENE-961: ------------------------------------ +1 Lets add a no arg constructor to the impls and make serializable. > RegexCapabilities is not Serializable > ------------------------------------- > > Key: LUCENE-961 > URL: https://issues.apache.org/jira/browse/LUCENE-961 > Project: Lucene - Java > Issue Type: Bug > Components: QueryParser > Affects Versions: 2.2 > Reporter: Konrad Rokicki > Assignee: Erik Hatcher > Priority: Minor > > The class RegexQuery is marked Serializable by its super class, but it > contains a RegexCapabilities which is not Serializable. Thus attempting to > serialize the query results in an exception. > Making RegexCapabilities serializable should be no problem since its > subclasses contain only serializable classes (java.util.regex.Pattern and > org.apache.regexp.RE). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org