Stop. Back up. Start from the beginning.

Reiterating what Gora was saying, you're
jumping into the middle of your problem.
Start at the beginning.

Have you been able to just do the example
without changing anything else? I.e. are you
sure you have a working installation under
Tomcat? Don't try to skip this step, many Tomcat
issues (and what you've outlined in your other
two posts) are rooted in not having Solr under
Tomcat configured correctly.

Here's what I'd do
1> just use the embedded Jetty to a> set up
a Solr and b> index PDF files. That
eliminates Tomcat config issues and starts
to get you familiar with Solr.

2> when <1> works, install a stock Solr under
Tomcat and get the example to work. Don't change
your schema. Don't try to index PDF files. Don't
do _anything_ else until you have the example
working.

3> When <1> and <2> work, move on to PDF
 files under Tomcat, changing one thing at a time.

Note there are several Wiki pages that give you
detailed info on setting up Solr under Tomcat. Have
you looked at those?

You might review:
http://wiki.apache.org/solr/UsingMailingLists
In particular, consider what it would be like for
_you_ to try to diagnose a problem in a system
you know a lot about with the level of information
you're providing to us.

Best
Erick


On Sun, Sep 15, 2013 at 8:15 AM, Nutan <nutanshinde1...@gmail.com> wrote:

> That is my whole schema.xml file.
> I did not define default and copy field.I am new to solr,never read about
> its need for full-text search.Can you please send me any link for
> configurations to search within documents.I did follow Solr cookbook 4.
> Thanks a lot.
>
>
> On Sun, Sep 15, 2013 at 5:39 PM, Gora Mohanty-3 [via Lucene] <
> ml-node+s472066n4090175...@n3.nabble.com> wrote:
>
> > On 15 September 2013 17:20, Nutan <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4090175&i=0>>
> > wrote:
> > >
> > > this is my schema.xml :
> >
> > You do not provide nearly enough information for people to
> > be able to help you.
> >
> > Is that the entirety of your schema.xml? If so, it is missing
> > various important bits such as a <defaultSearchField> and
> > <copyField> directives needed to make a full-text search
> > work, as you seem to want.
> >
> > > this is the document i want to search through contents:
> > > <doc>
> > > <str name="id">8</str>
> > > <arr name="author">
> > > <str>nutan shinde</str>
> > > </arr>
> > > <str name="comments">best book for solr</str>
> > > <str name="keywords">solr,lucene,apache tika</str>
> > > <str name="contents">
> > > solr,lucene is used for search based service.Google works uses web
> > > crawler.Lucene can implement web crawler
> > > </str>
> > > <str name="title">solr enterprise search server</str>
> > > <str name="revision_number">00123467889767</s…
> > > &lt;/doc>
> >
> > How are you indexing this document into Solr, and how do you
> > know that it actually got indexed?
> >
> > > But when i fire this query :
> > >
> > > http://localhost:8080/solr/select?q=co…
> >
> > Please provide the entire search URL, without which we are
> > forced to try and guess at what you are trying to do.
> >
> > Regards,
> > Gora
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://lucene.472066.n3.nabble.com/searching-within-documents-tp4090173p4090175.html
> >  To unsubscribe from searching within documents, click here<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4090173&code=bnV0YW5zaGluZGUxOTkyQGdtYWlsLmNvbXw0MDkwMTczfC0xMzEzOTU5Mzcx
> >
> > .
> > NAML<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/searching-within-documents-tp4090173p4090176.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to