[jira] [Commented] (SOLR-3702) String concatenation function
[ https://issues.apache.org/jira/browse/SOLR-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13846422#comment-13846422 ] Ted Strauss commented on SOLR-3702: --- I think the resolution of this issue will have use cases without SOLR-2526; I see no reason not to commit. I haven't tested this patch though. String concatenation function - Key: SOLR-3702 URL: https://issues.apache.org/jira/browse/SOLR-3702 Project: Solr Issue Type: New Feature Components: query parsers Affects Versions: 4.0-ALPHA Reporter: Ted Strauss Attachments: SOLR-3702.patch, SOLR-3702.patch Related to https://issues.apache.org/jira/browse/SOLR-2526 Add query function to support concatenation of Strings. -- This message was sent by Atlassian JIRA (v6.1.4#6159) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-1581) Facet by Function
[ https://issues.apache.org/jira/browse/SOLR-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13510230#comment-13510230 ] Ted Strauss commented on SOLR-1581: --- I'd like to offer to co-sponsor work on this issue if anyone here knows where to go with it. This relates to my issue https://issues.apache.org/jira/browse/SOLR-3742 Thanks Facet by Function - Key: SOLR-1581 URL: https://issues.apache.org/jira/browse/SOLR-1581 Project: Solr Issue Type: New Feature Reporter: Grant Ingersoll Fix For: 4.1 Attachments: SOLR-1581.patch It would be really great if we could execute a function and quantize it into buckets that could then be returned as facets. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-3742) group.func and group.facet do not work together
[ https://issues.apache.org/jira/browse/SOLR-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13490209#comment-13490209 ] Ted Strauss commented on SOLR-3742: --- Group faceting is implemented in SimpleFacets.java in the method - public int getGroupedFacetQueryCount(Query facetQuery) To generate the facets for a field, FieldCache is maintained and iterated over. So for group faceting, a field cache is maintained for group.field. Similarly a function cache needs to be maintained to be iterated over to create facets and facet counts. Presently there is no function cache implemented in Lucene group.func and group.facet do not work together --- Key: SOLR-3742 URL: https://issues.apache.org/jira/browse/SOLR-3742 Project: Solr Issue Type: Bug Components: search Affects Versions: 4.0-ALPHA, 4.0-BETA Reporter: CP When doing a search like http://localhost:8983/solr/select?group=truegroup.func=product(fildname1,fieldname2)group.facet=truefacet=truefacet.field=fieldname3 an error is returned in response where facets are normally returned: java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.solr.request.SimpleFacets.getGroupedCounts(SimpleFacets.java:358) ... The function used can be any function, not product only. There is no such error if group.facet is omitted or group.field is used instead of group.func. It seems that group.field parameter is expected to be defined when calculating grouped facets. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-3702) String concatenation function
Ted Strauss created SOLR-3702: - Summary: String concatenation function Key: SOLR-3702 URL: https://issues.apache.org/jira/browse/SOLR-3702 Project: Solr Issue Type: New Feature Components: query parsers Affects Versions: 4.0-ALPHA Reporter: Ted Strauss Related to https://issues.apache.org/jira/browse/SOLR-2526 Add query function to support concatenation of Strings. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org