: > How do I generate URLs to retrieve a document against any given Solr
: > instance that I happen to be pointing at without knowing which field is the
: > document id?
:
: One cool technique, not instead of your change to Luke RH (a needed change
: IMO) but another way to go about it - we have
On Feb 12, 2008, at 3:44 PM, Grant Ingersoll wrote:
On Feb 12, 2008, at 2:10 PM, Chris Hostetter wrote:
: > Honestly: i can't think of a single use case where client code
would care
: > about what the uniqueKey field is, unless it already *knew*
what the
: > uniqueKey field is.
:
: :-) Ab
On Feb 12, 2008, at 2:10 PM, Chris Hostetter wrote:
: > Honestly: i can't think of a single use case where client code
would care
: > about what the uniqueKey field is, unless it already *knew* what
the
: > uniqueKey field is.
:
: :-) Abstractions allow one to use different implementations
: > Honestly: i can't think of a single use case where client code would care
: > about what the uniqueKey field is, unless it already *knew* what the
: > uniqueKey field is.
:
: :-) Abstractions allow one to use different implementations. My
: client/display doesn't know about Solr, it just kno
On Feb 11, 2008, at 11:24 PM, Chris Hostetter wrote:
: 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
adding the info to LukeRequestHandler makes sense.
Honestly: i can't think
: 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
adding the info to LukeRequestHandler makes sense.
Honestly: i can't think of a single use case where client code would care
about what
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
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 PROTECTE
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 an
right now you need to know the unique key name to get it...
I don't think we have any easy way to get that besides parsing the
schema
With debugQuery=true, the uniqueKey is added to the 'explain' info:
...
this gets parsed into the QueryResults _explainMap and _docIdMap but i'm
not
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
11 matches
Mail list logo