Solr UIMA Custom Annotator PEAR file installation on Linux

2016-01-07 Thread techqnq
implemented custom annotator and generated the PEAR file.
Windos has the PEAR installer utility but how to do this from command line
or what other options on Linux OS?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-UIMA-Custom-Annotator-PEAR-file-installation-on-Linux-tp4249302.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr UIMA Custom Annotator PEAR file installation on Linux

2016-01-08 Thread techqnq
Yes, I want to use PEAR file to provide my custom annotator for the solr UIMA
UpdateProcessor.

Basically I have written a custom annotator to capture the certain type of
data from "content" and copies over to other solr field. Generated the PEAR
file using eclipse UIMA plugins. All well till now. Now I want to use this
PEAR file on my solr server to provide this annotator for the SOLR UIMA
UpdateProcessor.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-UIMA-Custom-Annotator-PEAR-file-installation-on-Linux-tp4249302p4249496.html
Sent from the Solr - User mailing list archive at Nabble.com.


multiple solr-config.xml files per core

2016-01-11 Thread techqnq

I assume distinct solr-config.xml file is allowed for every solr core, but I
got suspicious based upon the data size of the core. So thought to get my
facts confirmed/corrected here:

Q. Can Solr Server have different/multiple solr-config.xml file per core?

Use Case: 
- For one core solr-config.xml file: it is configured with UIMA update
processor i.e. "updateRequestProcessorChain" 


  uima

  

- For second core solr-config-xml file: it is kept default/standard as it is
(no uima update)





--
View this message in context: 
http://lucene.472066.n3.nabble.com/multiple-solr-config-xml-files-per-core-tp4250009.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: multiple solr-config.xml files per core

2016-01-11 Thread techqnq
Thanks Eric, for confirming and putting it correctly in your response.
Appreciate your help!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/multiple-solr-config-xml-files-per-core-tp4250009p4250050.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr UIMA Custom Annotator PEAR file installation on Linux

2016-01-11 Thread techqnq

Hi, Tommaso Teofili: any help on this ^



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-UIMA-Custom-Annotator-PEAR-file-installation-on-Linux-tp4249302p4250054.html
Sent from the Solr - User mailing list archive at Nabble.com.


Solr UIMA Part Of Speech Tagging

2015-07-06 Thread techqnq
Hi,

I am working on part of speech tagging in solr using UIMA.
I have integrated Solr and UIMA. I have indexed a document, below is the
output:

/
1

  Human nature is not one thing


  Human
  nature
  is
  not
  one
  thing


  jj
  nn
  bez
  *
  cd
  nn

/


*- Problem is I wan to index data like /"Human/jj nature/nn is/bez not/*
one/cd thing/nn"/* in one of the solr field e.g. "textpos". *Pattern I want
is word/posTag*

Anyone came across similar issue before or anyone know how to resolve this
problem? Is there any way of doing this in "fieldMappings" section in
solrconfig.xml file?


OTHER DETAILS:

AggregateSentenceAE.xml file snip:
/
  


  org.apache.uima.SentenceAnnotation
  org.apache.uima.TokenAnnotation


  
/





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-UIMA-Part-Of-Speech-Tagging-tp4215904.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr UIMA Part Of Speech Tagging

2015-07-07 Thread techqnq
@Erik Hatcher-4

I had no issues using it.
To achieve indexing as I did you need to use below AEs in your *AE.xml file:

/  

  


  

  /


and in solrconfig.xml add below analyzeFields + fieldMapping in uima
updateRequestProcessorChain:

/
  false
  
text
  
/

and

/
  
org.apache.uima.TokenAnnotation

  coveredText
   texttokens


  posTag
   textpos

  
/

rest stays per standard template; hope this helps.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-UIMA-Part-Of-Speech-Tagging-tp4215904p4216205.html
Sent from the Solr - User mailing list archive at Nabble.com.