lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject Re: ResourceLoader?
Date Wed, 29 Aug 2012 14:27:00 GMT
I'm confused. Isn't inform/ResourceLoader deprecated? But your example use
it?


On Wed, Aug 29, 2012 at 10:20 AM, Robert Muir <rcmuir@gmail.com> wrote:

> On Wed, Aug 29, 2012 at 10:10 AM, Benson Margulies <benson@basistech.com>
> wrote:
> > Our Solr 3.x code used init(ResourceLoader) and then called the loader to
> > read a file.
> >
> > What's the new approach to reading content from files in the 'usual
> place'?
>
> I'm not aware of init(ResourceLoader), only inform(ResourceLoader). is
> that what you meant?
>
> I added some javadocs on the lifecycle of these factories the other
> day (please review, possible doc bugs!):
>
> https://builds.apache.org/job/Lucene-Artifacts-4.x/javadoc/analyzers-common/org/apache/lucene/analysis/util/AbstractAnalysisFactory.html
>
> Here are some examples:
>
> Parses a tab-separated file (using getLines: UTF-8):
>
> http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilterFactory.java
>
> Parses a file of its own format (using specified encoding):
>
> http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseTokenizerFactory.java
>
> --
> lucidworks.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message