I can have only one schema.xml file right? Can i over-write the one which
originally comes with solr set-up?

the original schema.xml is @ C:\solr\solr\solr\conf along with post.sh et
all......where should my other document be?

i need to run post.jar on my doc file (xml) to index it right?

I could unfortunately not get any document which tells me how to run solr
queries through my tomcat......do you know of any link/books?

Thank you! Kishan.

Thanks,
Mamta


On Tue, Oct 1, 2013 at 3:30 PM, Kishan Parmar <kishan....@gmail.com> wrote:

> you have to create only schema file
> dont change anything in solr config file,,
>
> and your xml file which you want to index from solr
>
> if you are new in solr then there is core named collection1
> you have to add thee schema file in that collection conf folder
>
> C:\solr\example\solr\collection1\conf
>
> your schema file is should be in c: solr -> examples >example docs folder
> in that folder post.jar and post.sh file there so that you can add yu
>
>
>
> Regards,
>
> Kishan Parmar
> Software Developer
> +91 95 100 77394
> Jay Shree Krishnaa !!
>
>
>
> On Tue, Oct 1, 2013 at 4:19 AM, Mamta S Kanade <mkan...@etisalat.ae>
> wrote:
>
> > Can you tell me what all docs I need to create...there needs to be a
> > schema.xml and what else? A document having my data?
> >
> > Also, where these should be placed. There's already a schema.xml
> >
> > Thanks for the prompt response.....
> >
> > Mamta.
> >
> > -----Original Message-----
> > From: Kishan Parmar [mailto:kishan....@gmail.com]
> > Sent: 01 October, 2013 03:16 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Newbie to Solr
> >
> > yes you have to create your own schema
> > but in schema file you have to add your xml files field name in it like
> > wise you can add your field name in it ....
> >
> > or you can add  your filed in the default schema file
> >
> > whiithout schema you can not add your xml file to solr
> >
> > my schema is like this
> >
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <schema name="example" version="1.5">
> > <fields>
> >  <field name="No" type="string" indexed="true" stored="true"
> > required="true" multiValued="false" />
> >  <field name="Name" type="string" indexed="true" stored="true"
> > required="true" multiValued="false" />
> >  <field name="Address" type="string" indexed="true" stored="true"
> > required="true" multiValued="false" />
> >  <field name="Mobile" type="string" indexed="true" stored="true"
> > required="true" multiValued="false" />
> > </fields>
> > <uniqueKey>No</uniqueKey>
> >
> > <types>
> >
> >   <fieldType name="string" class="solr.StrField" sortMissingLast="true"
> />
> >   <fieldType name="int" class="solr.TrieIntField" precisionStep="0"
> > positionIncrementGap="0" />
> > </types>
> > </schema>
> >
> >
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > and my file is like this ,,.,.,.,.
> >
> >
> >
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
> > <add>
> >     <doc>
> >         <field name="No">100120107088</field>
> >         <field name="Name">kishan</field>
> >         <field name="Address">ghatlodia</field>
> >         <field name="Mobile">9510077394</field>
> >     </doc>
> > </add>
> >
> > Regards,
> >
> > Kishan Parmar
> > Software Developer
> > +91 95 100 77394
> > Jay Shree Krishnaa !!
> >
> >
> >
> > On Tue, Oct 1, 2013 at 1:11 AM, mamta <mamta.al...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I want to know that if i have to fire some query through the Solr
> > > admin, do i need to create a new schema.xml? Where do i place it
> > > incase iahve to create a new one.
> > >
> > > Incase i can edit the original schema.xml can there be two fields
> > > named id in my schema.xml?
> > >
> > > I desperately need help in running queries on the Solr admin which is
> > > configured on a Tomcat server.
> > >
> > > What all preparation will i need to do? Schema.xml any docs?
> > >
> > > Any help will be highly appreciated.
> > >
> > > Thanks,
> > > Mamta
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > > http://lucene.472066.n3.nabble.com/Newbie-to-Solr-tp4092876.html
> > > Sent from the Solr - User mailing list archive at Nabble.com.
> > >
> >
> > The content of this email together with any attachments, statements and
> > opinions expressed herein contains information that is private and
> > confidential are intended for the named addressee(s) only. If you are not
> > the addressee of this email you may not copy, forward, disclose or
> > otherwise use it or any part of it in any form whatsoever. If you have
> > received this message in error please notify postmas...@etisalat.ae by
> > email immediately and delete the message without making any copies.
> >
>

Reply via email to