Another option is to add it to the responseHeader???? Or it could be
a quick add to the LukeRH. The former has the advantage that we
wouldn't have to make extra calls at the cost of sending an extra
string w/ every message. The latter would work by asking for it up
front and then saving it aside. Any preference? Or, we could add it
to both, making the responseHeader one optional.
Of course, it probably would be useful to be able to request the
schema from the server and build an IndexSchema object on the client
side. This could be added to the LukeRH as well.
Hindsight is 20/20...
On Feb 11, 2008, at 6:51 PM, Ryan McKinley wrote:
thoughts on requiring that for solrj? perhaps in 2.0? Not
suggesting it is a good idea (yet)... but we may want to consider it.
Yonik Seeley wrote:
Hmmm, I should have just mandated that the id field be called "id"
from the start :-)
On Feb 11, 2008 5:51 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote:
What's the best way to retrieve the unique key field from SolrJ?
From
what I can tell, it seems like I would need to retrieve the schema
and
then parse it and get it from there, or am I missing something?
Thanks,
Grant