Shacky
Quote "A multivalued field is useful when there are more than one value present 
for the field. An easy example would be tags, there can be multiple tags that 
need to be indexed...". So yes, you are on the right track. Cheers -- Rick
https://stackoverflow.com/questions/5800762/what-is-the-use-of-multivalued-field-type-in-solr


On May 26, 2017 9:45:48 AM EDT, shacky <shack...@gmail.com> wrote:
>Hi,
>I need to create a new collection on my Solr 6.1.0 cluster where every
>row
>is a "content" and every content can belong to one or many categories,
>which are specified in a multivalued field "categories".
>
>In my web app the user can search by categories, and if wanted it can
>even
>group results by category. If it wants to group by category, what about
>the
>contents which belongs to more than one category?
>
>In this case the search results page should show the same content more
>times in different categories. I don't want the web application to
>filter
>and order results because in this case it should ask Solr for every
>rows (I
>know this is not advised for bad performance), so is there a way to let
>Solr make this? For example, repeating the same content in two
>categories
>if a flag is enabled or if I am asking Solr to sort by category?
>
>Thank you very much!
>Bye

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 

Reply via email to