lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <mkhlud...@griddynamics.com>
Subject Re: [Solrj] How can I get unique field name?
Date Tue, 20 Nov 2012 10:52:56 GMT
Hello Zakharia,

org.apache.solr.schema.IndexSchema.getUniqueKeyField()
Does it help?



On Tue, Nov 20, 2012 at 2:40 PM, zakaria benzidalmal <zakibenz@gmail.com>wrote:

> Hi all,
>
> I am writing a custom query response writer and I would like to handle the
> unique key field without knowing his actual name to stay generic.
>
> My question is: how can I get the uniqueKey fieldname of a result document?
>
>
> Regards.
> ______________________
> Zakaria BENZIDALMAL
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
 <mkhludnev@griddynamics.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message