Re: Sorting and also looking at stored fields

2008-08-27 Thread jennyv
Aha! Yep, that's the problem (not set to store in schema.xml)! Thanks!

Re: Sorting and also looking at stored fields

2008-08-26 Thread Shalin Shekhar Mangar
On Wed, Aug 27, 2008 at 5:16 AM, jennyv <[EMAIL PROTECTED]> wrote: > Thanks! I've tried that but it won't return any of the fields aside > from pki, id, and score. I've tried the wildcard and I've also tried > providing the names of the fields (e.g., text_for_solr_t, which is the > name of the mai

Re: Sorting and also looking at stored fields

2008-08-26 Thread Stephen Weiss
Are you sure you have the fields set to store in your schema? You said before you know they're being saved because you can search against them... While any field can be searched against which is set to indexed="true", only fields set to stored="true" can actually be retrieved for further d

Re: Sorting and also looking at stored fields

2008-08-26 Thread jennyv
On Tue, Aug 26, 2008 at 3:46 PM, Stephen Weiss <[EMAIL PROTECTED]> wrote: > I do this by specifying them in the query string: > > fl=field_name1,field_name2,etc > > See here: > http://www.ibm.com/developerworks/java/library/j-solr1/#searching (table 2) Thanks! I've tried that but it won't return a

Re: Sorting and also looking at stored fields

2008-08-26 Thread Stephen Weiss
I do this by specifying them in the query string: fl=field_name1,field_name2,etc See here: http://www.ibm.com/developerworks/java/library/j-solr1/#searching (table 2) -- Steve On Aug 26, 2008, at 6:36 PM, jennyv wrote: Ack. Reading the FAQ would help. :-) I've fixed the sorting issue by u

Re: Sorting and also looking at stored fields

2008-08-26 Thread jennyv
Ack. Reading the FAQ would help. :-) I've fixed the sorting issue by using a different analyzer. However, I'd love to get an answer on whether there's a way to query solr to include more fields in the results. Thanks!