You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Henry Cleland (JIRA)" <ji...@apache.org> on 2014/11/07 14:56:34 UTC
[jira] [Commented] (SOLR-5147) Support Block Join documents in DIH
[ https://issues.apache.org/jira/browse/SOLR-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202053#comment-14202053 ]
Henry Cleland commented on SOLR-5147:
-------------------------------------
Hi [~lafeuil] i just applied the patch to trunk but the test TestHierarchicalDocBuilder failed. According to your comment, i am not clear if this failure is still to be expected after applying the patch or not. Kindly review output below.
{quote}
common.compile-test:
[mkdir] Created dir: ../xx/lucene-solr/solr/build/contrib/solr-dataimporthandler/classes/test
[javac] Compiling 47 source files to ../xx/lucene-solr/solr/build/contrib/solr-dataimporthandler/classes/test
[javac] ../xx/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java:37: error: cannot find symbol
[javac] import org.apache.lucene.search.join.FixedBitSetCachingWrapperFilter;
[javac] ^
[javac] symbol: class FixedBitSetCachingWrapperFilter
[javac] location: package org.apache.lucene.search.join
[javac] ../xx/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java:161: error: no suitable constructor found for ToParentBlockJoinQuery(ToParentBlockJoinQuery,Filter,ScoreMode)
[javac] ToParentBlockJoinQuery blockJoinQuery = new ToParentBlockJoinQuery(childBlockJoinQuery, createParentFilter(parentType), ScoreMode.Avg);
[javac] ^
[javac] constructor ToParentBlockJoinQuery.ToParentBlockJoinQuery(Query,Query,BitDocIdSetFilter,ScoreMode) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] constructor ToParentBlockJoinQuery.ToParentBlockJoinQuery(Query,BitDocIdSetFilter,ScoreMode) is not applicable
[javac] (actual argument Filter cannot be converted to BitDocIdSetFilter by method invocation conversion)
[javac] ../xx/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java:212: error: no suitable constructor found for ToParentBlockJoinQuery(Query,Filter,ScoreMode)
[javac] ToParentBlockJoinQuery blockJoinQuery = new ToParentBlockJoinQuery(childQuery, createParentFilter(parentType), ScoreMode.Avg);
[javac] ^
[javac] constructor ToParentBlockJoinQuery.ToParentBlockJoinQuery(Query,Query,BitDocIdSetFilter,ScoreMode) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] constructor ToParentBlockJoinQuery.ToParentBlockJoinQuery(Query,BitDocIdSetFilter,ScoreMode) is not applicable
[javac] (actual argument Filter cannot be converted to BitDocIdSetFilter by method invocation conversion)
[javac] ../xx/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java:381: error: cannot find symbol
[javac] return new FixedBitSetCachingWrapperFilter(new QueryWrapperFilter(parentQuery));
[javac] ^
[javac] symbol: class FixedBitSetCachingWrapperFilter
[javac] location: class TestHierarchicalDocBuilder
[javac] Note: ../xx/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestJdbcDataSourceConvertType.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
{quote}
> Support Block Join documents in DIH
> -----------------------------------
>
> Key: SOLR-5147
> URL: https://issues.apache.org/jira/browse/SOLR-5147
> Project: Solr
> Issue Type: Sub-task
> Reporter: Vadim Kirilchuk
> Fix For: 4.9, Trunk
>
> Attachments: SOLR-5147.patch
>
>
> DIH should be able to index hierarchical documents, i.e. it should be able to work with SolrInputDocuments#addChildDocument.
> There was patch in SOLR-3076:
> https://issues.apache.org/jira/secure/attachment/12576960/dih-3076.patch
> But it is not uptodate and far from being complete.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org