You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/04/18 21:32:14 UTC

[jira] [Commented] (SOLR-4729) Using a copyField with * as the source doesn't work

    [ https://issues.apache.org/jira/browse/SOLR-4729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635573#comment-13635573 ] 

Hoss Man commented on SOLR-4729:
--------------------------------

Adam: we're going to need more details on exactly what svn branch & revision you're testing, what exactly your schema looks like, and how exactly you generated that Exception: what exactly did you do in the analysis tab, and what appeared in solr's logs arround that exception (eg: the underlying request to solr made by the UI, the log messages from that request, and the full stack of hte exception.)

I just committed a test demonstrating that a source="*" copyfield works, so i'm fairly certain that SOLR-4650 fixed this -- but if you're still getting errors then there may be some edge case here we're not understanding...

Committed revision 1469529.
Committed revision 1469533.
Committed revision 1469534.


                
> Using a copyField with * as the source doesn't work
> ---------------------------------------------------
>
>                 Key: SOLR-4729
>                 URL: https://issues.apache.org/jira/browse/SOLR-4729
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 4.2
>            Reporter: Adam Hahn
>
> It seems you can no longer use a wildcard as the source when defining a copyField.  I don't believe that this was fixed as part of SOLR-4650 since I've tested it with the 4/17 nightly build and it doesn't work.
> I'm using the following line: <copyField source="*" dest="text"/>
> If I index something, this line is ignored.  If I go to the Analysis tab, the fields aren't populated and I see the error: 'org.apache.solr.common.SolrException: undefined field: "*"' in the log.
> This worked correctly in 4.0, but I didn't test it in 4.1.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org