lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Hooey (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3063) factor CharTokenizer/CharacterUtils into analyzers module
Date Thu, 03 Nov 2011 21:13:33 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143533#comment-13143533
] 

Neil Hooey commented on LUCENE-3063:
------------------------------------

Now that CharTokenizer has been moved in to the analyzer module, the binary build has the
CharTokenizer.class inside a jar file that's inside a war file.

It doesn't seem like you can build a Lucene or Solr plugin without manually extracting the
jar in the war.

In the particular Solr binary distribution:
apache-solr-4.0-2011-11-03_08-39-12

The CharTokenizer.class file is here:
dist/apache-solr-4.0-2011-11-03_08-39-12.war/WEB-INF/lib/lucene-analyzers-common-4.0-2011-11-03_08-39-12.jar/org/apache/lucene/analysis/util/CharTokenizer.class

Is there any way to use Ant to build a plugin that uses CharTokenizer without first extracting
the war file?

If not, could you consider having the lucene-analyzers-common-4.0-2011-11-03_08-39-12.jar
file just in a directory in the binary distribution?
                
> factor CharTokenizer/CharacterUtils into analyzers module
> ---------------------------------------------------------
>
>                 Key: LUCENE-3063
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3063
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>         Attachments: LUCENE-3063.patch
>
>
> Currently these analysis components are in the lucene core, but should really
> be .util in the analyzers module.
> Also, with MockTokenizer extending Tokenizer directly, we can add some additional
> checks in the future to try to ensure our consumers are being good consumers (e.g. calling
reset).
> This is mentioned in http://wiki.apache.org/lucene-java/TestIdeas, I didn't implement
it here yet,
> this is just the factoring. I think we should try to do this before LUCENE-3040.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message