There are two documents in that response. Are you adding the same document
multiple times to Solr?

You can also specify a uniqueKey in the schema.xml which will make sure that
Solr keeps only one document for a given key and removes the duplicate
documents.

In the response you have pasted, the 'id' field looks like it should have
been defined as a uniqueKey.

On Fri, Jan 9, 2009 at 11:12 AM, rohit arora <rohitarora...@yahoo.com>wrote:

>
> Hi,
>
> It gives this out put ..
>
> <doc>
>     <float name="score">5.361002</float>
>     <str name="id">8232</str>
>     <str name="name">Quality Testing International</str>
>     <str name="large_desc">
> Quality Testing International the ideal exhibition for measuring technique
> testing of materials and quality assurance. Profile for exhibit include
> Customer profiling; customer marketing; loyalty systems and operators;
> customer intelligence; market research and analysis; customer experience
> management; employee motivation and incentivising; data warehousing/data
> mining; employee training; contact/call centre; customer service management;
> sales promotions and incentives; field marketing; CRM solutions.
>     </str>
>     <str name="small_desc">
> Quality Testing International the ideal exhibition for measuring technique
> testing of materials and quality assurance.
>     </str>
> </doc>
> <doc>
>     <float name="score">5.361002</float>
>     <str name="id">8232</str>
>     <str name="name">Quality Testing International</str>
>     <str name="large_desc">
> Quality Testing International the ideal exhibition for measuring technique
> testing of materials and quality assurance. Profile for exhibit include
> Customer profiling; customer marketing; loyalty systems and operators;
> customer intelligence; market research and analysis; customer experience
> management; employee motivation and incentivising; data warehousing/data
> mining; employee training; contact/call centre; customer service management;
> sales promotions and incentives; field marketing; CRM solutions.
>     </str>
>     <str name="small_desc">
> Quality Testing International the ideal exhibition for measuring technique
> testing of materials and quality assurance.
>     </str>
> </doc>
>
>
> If you look it provide same record of (id,name,large_desc,small_desc)
> multiple times..
>
> I have attached the out put in a (.txt) file..
>
> with regards
>  Rohit Arora
>
>
>
>
>
> --- On *Thu, 1/8/09, Erik Hatcher <e...@ehatchersolutions.com>* wrote:
>
> From: Erik Hatcher <e...@ehatchersolutions.com>
> Subject: Re: Problem in Out Put of Search
> To: solr-user@lucene.apache.org
> Date: Thursday, January 8, 2009, 7:10 PM
>
>
> Please provide an example of what you mean.
>  What and how did you index?   What
> was the query?
>
>       Erik
>
> On Jan 8, 2009, at 8:34 AM, rohit arora wrote:
>
> >
> > Hi,
> >
> > I have installed solr lucene 1.3. I am facing a problem wile searching it
> did not provides multiple records.
> >
> > Instead of providing multiple records it provides single record multiple
> times..
> >
> > with regards
> >  Rohit Arora
> >
> >
> >
>
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to