I tested your guidance but still have errors.
let me to explain more about my problem. I use Nutch to crawling the web and
fetching web pages. I send data of Nutch to Solr for Indexing. according to
Nutch tutorial (
http://wiki.apache.org/nutch/NutchTutorial#A6._Integrate_Solr_with_Nutch) I
should copy schema.xml of Nutch to conf directory of Solr.
So I added all of my required Analyzer like "*ICUNormalizer2FilterFactory" *to
this new shema.xml . Maybe all of my problems are deriving from this file!
but still i can't solve it.

On Tue, Sep 13, 2011 at 2:28 PM, mohit soni <[email protected]> wrote:

> Did you try following:
> <lib dir="./lib" />
>
> I think the path you specify here is relative to your SOLR_HOME directory,
> which in example's case would be "example/solr " directory. Also, the "lib"
> directory created by you exists at  "example/solr/lib/", so using above lib
> directive should solve the problem.
>
> Hope that helps!
> ~Mohit
>
>
> On Tue, Sep 13, 2011 at 11:14 AM, ahmad ajiloo <[email protected]>wrote:
>
>> I created "example/solr/lib" directory and copied jar files to it and
>> added this expressions in solrconfig.xml :
>>
>> <lib dir="../../example/solr/lib" />
>> <lib dir="../../../example/solr/lib" /> (for assurance!!!)
>>
>> but it doesn't work and still has those errors !
>>
>>
>>
>> On Mon, Sep 12, 2011 at 4:31 PM, Erik Hatcher <[email protected]>wrote:
>>
>>> Yes, SOLR_HOME in this case, if you're running the example application,
>>> in example/solr.  There's no lib/ directory there by default, just create it
>>> yourself.
>>>
>>> You can also add <lib> directives in your solrconfig.xml (you'll see this
>>> documented in comments in the example config).
>>>
>>>        Erik
>>>
>>>
>>>
>>> On Sep 12, 2011, at 07:51 , ahmad ajiloo wrote:
>>>
>>> > Hi
>>> > In this page said:
>>> > "Note: to use this filter, see solr/contrib/analysis-extras/README.txt
>>> for instructions on which jars you need to add to your SOLR_HOME/lib "
>>> > I can't find "SOLR_HOME/lib" !
>>> > Is there: "apache-solr-3.3.0\example\solr" ? there is no directory
>>> which name is lib
>>> > or: "apache-solr-3.3.0\" ? there is no directory which name is lib
>>> >
>>> > or : "apache-solr-3.3.0\example" ? there is a "lib" directory. I copied
>>> 4 libraries exist in "solr/contrib/analysis-extras/" to
>>> "apache-solr-3.3.0\example\lib" but some errors exist in loading page "
>>> http://localhost:8983/solr/admin"; like:
>>> > "org.apache.solr.common.SolrException: Error loading class
>>> 'solr.ICUNormalizer2FilterFactory' "
>>> >
>>> > thanks a lot
>>> >
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>

Reply via email to