RE: multivalued fields in result
My schema.xml was fine. The problem was that my test queries weren't returning top 10 documents that had data in the fields. Once I increased the rows, I saw the results. Definitely user error. :) Thanks for help though. Jason -Original Message- From: Lance Norskog [mailto:goks...@gmail.com] Sent: Sun 9/12/2010 6:23 PM To: solr-user@lucene.apache.org Subject: Re: multivalued fields in result Also, the 'v' is capitalized: multiValued. (This is one reason why posting your schema helps.) Erick Erickson wrote: > Can we see your schema file? Because it sounds like you didn't > really declare your field multivalued="true" on the face of things. > > But if it is multivalued AND you changed it, did you reindex after > you changed the schema? > > Best > Erick > > On Sun, Sep 12, 2010 at 4:21 AM, Jason Chaffee wrote: > > >> But it doesn't seem to be returning mulitvalued fields that are stored. It >> is returning all of the single value fields though. >> >> >> -Original Message- >> From: Markus Jelsma [mailto:markus.jel...@buyways.nl] >> Sent: Sat 9/11/2010 4:19 AM >> To: solr-user@lucene.apache.org >> Subject: RE: multivalued fields in result >> >> Yes, you'll get what is stored and asked for. >> >> -Original message- >> From: Jason Chaffee >> Sent: Sat 11-09-2010 05:27 >> To: solr-user@lucene.apache.org; >> Subject: multivalued fields in result >> >> Is it possible to return multivalued files in the result? >> >> I would like to have a multivalued field that is stored and not indexed (I >> also copy the same field into another field where it is tokenized and >> indexed). I would then like all the values of this field returned in the >> result set. Is there a way to do this? >> >> If it is not possible, could someone elaborate why that is so that I may >> see if I can make it work. >> >> thanks, >> >> Jason >> >> >> >
Re: multivalued fields in result
Also, the 'v' is capitalized: multiValued. (This is one reason why posting your schema helps.) Erick Erickson wrote: Can we see your schema file? Because it sounds like you didn't really declare your field multivalued="true" on the face of things. But if it is multivalued AND you changed it, did you reindex after you changed the schema? Best Erick On Sun, Sep 12, 2010 at 4:21 AM, Jason Chaffee wrote: But it doesn't seem to be returning mulitvalued fields that are stored. It is returning all of the single value fields though. -Original Message- From: Markus Jelsma [mailto:markus.jel...@buyways.nl] Sent: Sat 9/11/2010 4:19 AM To: solr-user@lucene.apache.org Subject: RE: multivalued fields in result Yes, you'll get what is stored and asked for. -Original message- From: Jason Chaffee Sent: Sat 11-09-2010 05:27 To: solr-user@lucene.apache.org; Subject: multivalued fields in result Is it possible to return multivalued files in the result? I would like to have a multivalued field that is stored and not indexed (I also copy the same field into another field where it is tokenized and indexed). I would then like all the values of this field returned in the result set. Is there a way to do this? If it is not possible, could someone elaborate why that is so that I may see if I can make it work. thanks, Jason
Re: multivalued fields in result
Can we see your schema file? Because it sounds like you didn't really declare your field multivalued="true" on the face of things. But if it is multivalued AND you changed it, did you reindex after you changed the schema? Best Erick On Sun, Sep 12, 2010 at 4:21 AM, Jason Chaffee wrote: > But it doesn't seem to be returning mulitvalued fields that are stored. It > is returning all of the single value fields though. > > > -Original Message- > From: Markus Jelsma [mailto:markus.jel...@buyways.nl] > Sent: Sat 9/11/2010 4:19 AM > To: solr-user@lucene.apache.org > Subject: RE: multivalued fields in result > > Yes, you'll get what is stored and asked for. > > -Original message- > From: Jason Chaffee > Sent: Sat 11-09-2010 05:27 > To: solr-user@lucene.apache.org; > Subject: multivalued fields in result > > Is it possible to return multivalued files in the result? > > I would like to have a multivalued field that is stored and not indexed (I > also copy the same field into another field where it is tokenized and > indexed). I would then like all the values of this field returned in the > result set. Is there a way to do this? > > If it is not possible, could someone elaborate why that is so that I may > see if I can make it work. > > thanks, > > Jason > >
RE: multivalued fields in result
But it doesn't seem to be returning mulitvalued fields that are stored. It is returning all of the single value fields though. -Original Message- From: Markus Jelsma [mailto:markus.jel...@buyways.nl] Sent: Sat 9/11/2010 4:19 AM To: solr-user@lucene.apache.org Subject: RE: multivalued fields in result Yes, you'll get what is stored and asked for. -Original message- From: Jason Chaffee Sent: Sat 11-09-2010 05:27 To: solr-user@lucene.apache.org; Subject: multivalued fields in result Is it possible to return multivalued files in the result? I would like to have a multivalued field that is stored and not indexed (I also copy the same field into another field where it is tokenized and indexed). I would then like all the values of this field returned in the result set. Is there a way to do this? If it is not possible, could someone elaborate why that is so that I may see if I can make it work. thanks, Jason
RE: multivalued fields in result
Yes, you'll get what is stored and asked for. -Original message- From: Jason Chaffee Sent: Sat 11-09-2010 05:27 To: solr-user@lucene.apache.org; Subject: multivalued fields in result Is it possible to return multivalued files in the result? I would like to have a multivalued field that is stored and not indexed (I also copy the same field into another field where it is tokenized and indexed). I would then like all the values of this field returned in the result set. Is there a way to do this? If it is not possible, could someone elaborate why that is so that I may see if I can make it work. thanks, Jason