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 display.

Here's a link on that...

http://wiki.apache.org/solr/SchemaXml#head-af67aefdc51d18cd8556de164606030446f56554

If that's not it maybe seeing the schema would help.
--
Steve


On Aug 26, 2008, at 7:46 PM, jennyv wrote:

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 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 main search field). It seems the wildcard should return
all fields, no? One thing I should mention -- not all documents will
have all fields. Will that make a difference?

Thanks!

Reply via email to