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





[email protected]
 
From: Christine Poerschke (JIRA)
Date: 2017-10-25 04:02
To: dev
Subject: [jira] [Commented] (SOLR-11528) ltr unit tests failed
 
    [ 
https://issues.apache.org/jira/browse/SOLR-11528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217578#comment-16217578
 ] 
 
Christine Poerschke commented on SOLR-11528:
--------------------------------------------
 
Hello [~jj380382856] - thanks for opening this ticket and attaching a patch!
 
bq. If we build the lucene project first and then run the ltr unit test, it 
will have the following error: ...
 
Could you share more details on how you build and run the tests, possibly with 
seeds that reproduce the issue, e.g. in the output you might see something like
{code}
NOTE: reproduce with: ant test  -Dtestcase=... -Dtests.seed=... ...
{code}
 
Personally I haven't come across the {{... unknown field 'description' ...}} 
error locally and it would be great to reproduce the exact issue before making 
changes.
 
> 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