Questions tagged [solr-multy-valued-fields]

4 questions
6
votes
1 answer

Fields in apache solr response are multivalued when they should be singular

I'm experiencing a problem with Apache Solr where I'm receiving fields wrapped in lists in JSON responses but they should be singular. Here is an exerpt from schema.xml, two example fields giving me a problem are django_ct and django_id:
Isaac
  • 1,371
  • 3
  • 14
  • 36
2
votes
3 answers

Sorting on multivalued field in Solr

I know multivalued field sorting is not supported in Solr . But Is there any way we can sort multivalued field in Solr. I have two documents with field custom_code and values are as below, Doc 1 : 11, 78, 45, 22 Doc 2 : 56, 74, 62, 10 When I sort…
NutchUser
  • 173
  • 2
  • 9
0
votes
1 answer

How to make a condition on multi-valued field in solr

My SOLR is used to store events. Events can repeat. I need to filter my query to fetch events in a certain date range. Data for example: Event A has repeats in the following dates 1st, 10th, 15th, 29th Event B has repeats in the following dates…
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278
0
votes
1 answer

How to order a result set by a field with multiple values?

In my SOLR I keep events that repeats themselves. So, event A has something a repeat on the 11th 12th and 29th Event b has repeat on the 2nd and 15th Event c has on the 12th and 29th I want to fetch the events ordered by their dates, I want it to be…
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278