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

jin jing commented on SOLR-11528:
---------------------------------

[~cpoerschke]
Hello Christine Poerschke
My steps are as follows:
1.ant eclipse
2.import the project
3.clean and build project
4.run the test method as junit under solr\contrib\ltr\src\test-files
It will have the following error {... unknown field 'description' ...}.  I 
think the reason is that the scheam wich the test method load does not have the 
'description' field. the reason is solr/core/src/test-files was also compile to 
the same floader. so the scheam was not true yet.
i think we should rename the solr.collection1.conf under 
solr/contrib/ltr/src/test-files .beacuse other solr/contrib also Named with 
their module name infort of solr.collection1.conf sunch as 
langid.solr.collection1.conf  and  extraction.solr.collection1.conf

> ltr  unit tests failed
> ----------------------
>
>                 Key: SOLR-11528
>                 URL: https://issues.apache.org/jira/browse/SOLR-11528
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - LTR
>    Affects Versions: master (8.0)
>         Environment: eclipse oxygen
>            Reporter: jin jing
>             Fix For: master (8.0)
>
>         Attachments: SOLR-11528.patch
>
>
> If we build the lucene project first and then run the ltr unit test, it will 
> have the following error:
> ERROR: [doc=1] unknown field 'description'
> i found this is beacuse of the under the floader  
> solr\contrib\ltr\src\test-files  we shoud modify solr\collection1\conf  to  
> ltr\solr\collection1\conf. and we shoud Specify solrhome in TestRerankBase.
> If you do not modify the path schema may be overwritten



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to