Thanks Aman,
Erick, I followed the link and I am getting the following error,

Buildfile: ${user.home}\git\lucene-solr\build.xml

compile:

-check-git-state:

-git-cleanroot:

-copy-git-state:

git-autoclean:

resolve:

ivy-availability-check:

BUILD FAILED
${user.home}\git\lucene-solr\build.xml:309: The following error occurred
while executing this line:
${user.home}\git\lucene-solr\lucene\build.xml:124: The following error
occurred while executing this line:
${user.home}\git\lucene-solr\lucene\common-build.xml:424:
${user.home}\.ant\lib does not exist.

Total time: 0 seconds

Any Idea?
How can I run solr server In debug mode.

Here is the thing I am trying to do,
Change a custom plugin called solrTextTagger
<https://github.com/OpenSextant/SolrTextTagger>and add some extra query
parameters to it.

I defined my custom handler in the following way

   - <requestHandler name="/custom"
   class="org.opensextant.solrtexttagger.TaggerRequestHandler">

               </requestHandler>

   - And I defined my custom handler jar file location location in
   solrschema.xml in the following way

              <lib dir="${user.home}/git/SolrTextTagger/target"/>
(solr-text-tagger.jar
location)

   - I made some changes to the solrTextTagger,
   <https://github.com/OpenSextant/SolrTextTagger> And built a jar using
   maven.
   - I am running solr as a service. And sending a request using HTTP Post
   method.
   - But the problem is how can I debug solr-text-tagger.jar code to check
   and make changes. (I mean how to do remote debugging?)


I am using eclipse IDE for development.
I found similar problem here
<http://lucene.472066.n3.nabble.com/Custom-processing-in-Solr-Request-Handler-plugin-and-its-debugging-td4077533.html>.
But I could not understand the solution.

.Best,
Srini Sampth.





On Thu, Sep 21, 2017 at 8:51 PM, Erick Erickson <erickerick...@gmail.com>
wrote:

> And did you follow the link provided on that page?
>
> Best,
> Erick
>
> On Thu, Sep 21, 2017 at 3:07 AM, Aman Tandon <amantandon...@gmail.com>
> wrote:
> > Hi Srini,
> >
> > Kindly refer to the READ.ME section of this link of GitHub, this should
> > work.
> > https://github.com/apache/lucene-solr/blob/master/README.md
> >
> > With regards,
> > Aman Tandon
> >
> >
> > On Sep 21, 2017 1:53 PM, "srini sampath" <sampathsrini.c...@gmail.com>
> > wrote:
> >
> >> Hi,
> >> How to build and compile solr in my locale machine? it seems the
> >> https://wiki.apache.org/solr/HowToCompileSolr page became obsolete.
> >> Thanks in advance
> >>
>

Reply via email to