eDismax: Allow virtual fields
-----------------------------

                 Key: SOLR-3045
                 URL: https://issues.apache.org/jira/browse/SOLR-3045
             Project: Solr
          Issue Type: New Feature
          Components: search
            Reporter: Jan Høydahl


Imagine a one-field yellow page search using eDisMax across fields
{noformat}
qf=firstname middlename lastname companyname category^10.0 subcategory products 
address street zip city^5.0 state
{noformat}

Now this of course works well. But what if I want to offer my users fielded 
search on "who", "what" and "where".
A way to do this now is copyField into three new fields with these names. But 
then you lose the internal weight between the sub fields.
A more elegant way would be allowing virtual field names mapping to multiple 
fields. Imagine uf extended further:
{noformat}
&uf=who:firstname,middlename,lastname^2.0,companyname 
what:category,subcategory,products where:address,street,zip,city^10.0,state
{noformat}

This could probably be solved by adding each as a dismax sub-Query

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to