[ https://issues.apache.org/jira/browse/SOLR-13283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790348#comment-16790348 ]
superman369 commented on SOLR-13283: ------------------------------------ @[~munendrasn], thanks for your reply! I encountered such a demand. For example : I use \{!terms} multivalued field facet,so facet result include all the multivalued field values, among them are not required。 So I need to Incoming field values with \{!terms} , in order to filter facet value. For example: mutivalued field: "location.authorIds":["1","2","3","4"] I need to facet with the field(location.authorIds) , but I want to filter location.authorIds = "1" and location.authorIds = "2" , others not required. So I do it like this: [facet.field=|http://192.168.106.62:8219/hljzyydxyf-solr/search/select?facet.field=]{!terms="1,2"}location.authorIds&facet=on&fq=search.resourcetype:2&q=*:*&rows=0&facet.sort=count . if \{!terms=""} include many values, I need to pagination with facet.limit and facet.offset. Could you understand me? Thank you very much! > when facet with certain terms via {!terms}, facet.limit, facet.offset does > not work > ----------------------------------------------------------------------------------- > > Key: SOLR-13283 > URL: https://issues.apache.org/jira/browse/SOLR-13283 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module > Affects Versions: 7.7 > Reporter: superman369 > Priority: Major > > h4. I do a test in solr7.7. Limiting field facet with certain terms via > \{!terms} is work use facet.sort=count, but facet.limit, facet.offset does > not work. What's wrong? > h4. for example: > facet.field=\{!terms='1453,1452,1248'}location.authorIds&facet=true&facet.limit=1&facet.offset=1, > facet result : "location.authorIds" has 3 items. I think it should have > one item. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org