lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <>
Subject [jira] Commented: (SOLR-105) Duck typing for Document/Field plus to/from solr conversions for field names.
Date Tue, 16 Jan 2007 00:49:27 GMT


Erik Hatcher commented on SOLR-105:

Lets discuss this further.  I'm not quite on board with document round tripping just yet,
as I think we need more of a Lucene Hits-like concept on the Ruby side to navigate the results
in an iterator/Enumerable type fashion.  Keep in mind that what comes back from Solr may or
may not be the full document that was added originally, due to the fields not being requested
or the schema not configured to store them.  Having  partial documents on the Ruby side seems
awkward from a user perspective and not adhere to the principle of least surprise.

> Duck typing for Document/Field plus to/from solr conversions for field names. 
> ------------------------------------------------------------------------------
>                 Key: SOLR-105
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - ruby - flare
>         Environment: Darwin rocket 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00
PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
>            Reporter: William Groppe
>         Attachments: doc_and_field_roundtrip.patch
> Hey Erik,
> Take a close look at this patch, I've extended Ed's code quite a bit.  You may want to
hold off applying this until we all discuss it.  But on the plus side, it has 100% test coverage,
and allows round trips of full documents to Solr.
> Will

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message