Re: Solr OpenNLP named entity extraction

2018-07-11 Thread Jerome Yang
Thanks a lot Steve! On Wed, Jul 11, 2018 at 10:24 AM Steve Rowe wrote: > Hi Jerome, > > I was able to setup a configset to perform OpenNLP NER, loading the model > files from local storage. > > There is a trick though[1]: the model files must be located *in a jar* or > *in a subdirectory* under

Re: Solr OpenNLP named entity extraction

2018-07-10 Thread Steve Rowe
Hi Jerome, I was able to setup a configset to perform OpenNLP NER, loading the model files from local storage. There is a trick though[1]: the model files must be located *in a jar* or *in a subdirectory* under ${solr.solr.home}/lib/ or under a directory specified via a solrconfig.xml

Re: Solr OpenNLP named entity extraction

2018-07-09 Thread Jerome Yang
Hi Steve, Put models under " ${solr.solr.home}/lib/ " is not working. I check the "ZkSolrResourceLoader" seems it will first try to find modes in config set. If not find, then it uses class loader to load from resources. Regards, Jerome On Tue, Jul 10, 2018 at 9:58 AM Jerome Yang wrote: >

Re: Solr OpenNLP named entity extraction

2018-07-09 Thread Jerome Yang
Thanks Steve! On Tue, Jul 10, 2018 at 5:20 AM Steve Rowe wrote: > Hi Jerome, > > See the ref guide[1] for a writeup of how to enable uploading files larger > than 1MB into ZooKeeper. > > Local storage should also work - have you tried placing OpenNLP model > files in ${solr.solr.home}/lib/ ? -

Re: Solr OpenNLP named entity extraction

2018-07-09 Thread Steve Rowe
Hi Jerome, See the ref guide[1] for a writeup of how to enable uploading files larger than 1MB into ZooKeeper. Local storage should also work - have you tried placing OpenNLP model files in ${solr.solr.home}/lib/ ? - make sure you do the same on each node. [1]

Re: Solr OpenNLP named entity extraction

2018-07-08 Thread Jerome Yang
Hi guys, In Solrcloud mode, where to put the OpenNLP models? Upload to zookeeper? As I test on solr 7.3.1, seems absolute path on local host is not working. And can not upload into zookeeper if the model size exceed 1M. Regards, Jerome On Wed, Apr 18, 2018 at 9:54 AM Steve Rowe wrote: > Hi

Re: Solr OpenNLP named entity extraction

2018-04-17 Thread Steve Rowe
Hi Alexey, First, thanks for moving the conversation to the mailing list. Discussion of usage problems should take place here rather than in JIRA. I locally set up Solr 7.3 similarly to you and was able to get things to work. Problems with your setup: 1. Your update chain is missing the Log

Re: Solr OpenNLP named entity extraction

2018-04-17 Thread David Hastings
Did you send a commit after you sent the document? On Tue, Apr 17, 2018 at 8:23 AM, Alexey Ponomarenko wrote: > Hi once more I am trying to implement named entities extraction using this > manual > https://lucene.apache.org/solr/7_3_0//solr-analysis- >

Solr OpenNLP named entity extraction

2018-04-17 Thread Alexey Ponomarenko
Hi once more I am trying to implement named entities extraction using this manual https://lucene.apache.org/solr/7_3_0//solr-analysis-extras/org/apache/solr/update/processor/OpenNLPExtractNamedEntitiesUpdateProcessorFactory.html I am modified solrconfig.xml like this: