Solr EventListerner where to add the implementing classes

2015-01-08 Thread meena.sri...@mathworks.com
I am planning to implement the solr(4.9) EventListener interface to listen to
the indexing event using DIH.




I am not sure where to add these classes "StartIndexingEventListener" and
"EndIndexingEventListener" so that solr could find them and do the
necessary. Tried searching, but could not find a solution.

Thanks
Meena





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-EventListerner-where-to-add-the-implementing-classes-tp4178172.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: Solr EventListerner where to add the implementing classes

2015-01-12 Thread meena.sri...@mathworks.com
Thanks for your reply. I tried adding plugin and referenced to them in
solr-config.xml file with no luck.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-EventListerner-where-to-add-the-implementing-classes-tp4178172p4179076.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



how to highlight the whole search phrase only?

2015-01-12 Thread meena.sri...@mathworks.com
Highlighting does not highlight the whole Phrase, instead each word gets
highlighted.
I tried all the suggestions that was given, with no luck
These are my special setting for phrase highlighting
hl.usePhraseHighlighter=true
hl.q="query"


http://localhost.mathworks.com:8983/solr/db/select?q=syndrome%3A%22Override+ignored+for+property%22&rows=1&fl=syndrome_id&wt=json&indent=true&hl=true&hl.simple.pre=%3Cem%3E&hl.simple.post=%3C%2Fem%3E&hl.usePhraseHighlighter=true&hl.q=%22Override+ignored+for+property%22&hl.fragsize=1000


This is from my schema.xml


Should I add special in the indexing stage itself to make this work?

Thanks for your time.

Meena








--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-highlight-the-whole-search-phrase-only-tp4179078.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]