1. No, there is only one instance
2. init() is called
3. check these standard search components:
https://github.com/apache/lucene-solr/tree/trunk/solr/core/src/java/org/apache/solr/handler/component

Depending on what you are doing, you can pick the component that's closest to 
your purposes. Otherwise, I'd suggest you look into the most important 
component of all: QueryComponent.java
https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java

Also check out the interface:
https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/handler/component/SearchComponent.java

Hope this helps,
Tri

On Aug 13, 2014, at 06:52 PM, Apurv Verma <dapu...@gmail.com> wrote:

Hey all,
I am writing my first solr search component and had the following
questions.

1. Does each incoming query create a new solr search component object?
2. What happens at the time of core reload?
3. What are some good examples of SearchComponent s written?


Thanks

--
Regards,
Apurv Verma

Reply via email to