[ https://issues.apache.org/jira/browse/SOLR-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195107#comment-13195107 ]
Tomás Fernández Löbbe commented on SOLR-3026: --------------------------------------------- Jan, I have a patch that fixes an issue with this implementation and adds some more test cases. It also addresses SOLR-3045, should I add it here or should I try to separate both patches? What I did for SOLR-3045 strongly depends in your code for this issue. The issue is for a case like: myalias:(Zapp Obnoxious) This query is parsed as myalias:Zapp default_field:Obnoxious instead of myalias:Zapp myalias:Obnoxious the specific tests I added are: assertQ(req("defType","edismax", "uf", "myalias", "q","myalias:(Zapp Obnoxious)", "f.myalias.qf","name^2.0 mytrait_ss^5.0", "mm", "50%"), oner); assertQ(req("defType","edismax", "uf","who", "q","who:(Zapp Obnoxious)", "f.who.qf", "name^2.0 trait_ss^5.0", "qf", "id"), twor); > eDismax: Locking down which fields can be explicitly queried (user fields aka > uf) > --------------------------------------------------------------------------------- > > Key: SOLR-3026 > URL: https://issues.apache.org/jira/browse/SOLR-3026 > Project: Solr > Issue Type: Improvement > Components: search > Affects Versions: 3.1, 3.2, 3.3, 3.4, 3.5 > Reporter: Jan Høydahl > Assignee: Jan Høydahl > Fix For: 3.6, 4.0 > > Attachments: SOLR-3026.patch, SOLR-3026.patch, SOLR-3026.patch, > SOLR-3026.patch > > > We need a way to specify exactly what fields should be available to the end > user as fielded search. > In the original SOLR-1553, there's a patch implementing "user fields", but it > was never committed even if that issue was closed. -- 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