Yes, you are right. It worked !
-Vivek
On Mon, Aug 25, 2014 at 7:39 PM, Ahmet Arslan
wrote:
> Hi Vivek,
>
> how about this?
>
> Iterator iter = queryResponse.getResults().iterator();
>
> while (iter.hasNext()) {
> SolrDocument resultDoc = iter.next();
>
> Collection content =
>
Hi Vivek,
how about this?
Iterator iter = queryResponse.getResults().iterator();
while (iter.hasNext()) {
SolrDocument resultDoc = iter.next();
Collection content = resultDoc.getFieldValues("discussions");
}
On Monday, August 25, 2014 4:55 PM, Vivekanand Ittigi
wrote:
Hi,
Hi,
I've multivalued field and i want to display all array elements using solrj
command.
I used the command mentioned below but i'm able to retrieve only 1st
element of the array.
response.getResults().get(0).getFieldValueMap().get("discussions")
Output: Creation Time - 2014-06-12 17:37:53.0
NO