lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Priyanka Tufchi <priyanka.tuf...@launchship.com>
Subject Re: BlockJoinQuery is missing in lucene-4.1.0 .
Date Wed, 29 Jan 2014 11:15:16 GMT
Hello Michael,

In the example given in your blog   in following line there is error

  searcher.search(query, c);

whether it should convert in IndexSearcher

there is no explanation given for document addition in blog example ?
Can you please provide helping hand.

Thanks.



On Wed, Jan 29, 2014 at 2:59 AM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> Actually, the blog post should still apply: just insert ToParent to
> rename things.
>
> ToChildBlockJoinQuery is the same idea, but it joins in the reverse
> direction, so e.g. if your index has CDs (parent docs) and individual
> songs on those CDs (child docs), you can take a parent-level
> constraint (e.g. maybe price < $12) and join it down to child level
> constraints (maybe a query against the song's title) and then see
> individual songs (not albums) as the returned hits.
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Wed, Jan 29, 2014 at 5:44 AM, Priyanka Tufchi
> <priyanka.tufchi@launchship.com> wrote:
>> Hello Michael,
>>
>> Can i get code snippet for this new classes: ToParentBlockJoinQuery,
>> ToChildBlockJoinQuery
>> and how to use it.
>>
>> thanks
>>
>> On Wed, Jan 29, 2014 at 2:22 AM, Michael McCandless
>> <lucene@mikemccandless.com> wrote:
>>> Sorry, BlockJoinQuery was split into two separate classes:
>>> ToParentBlockJoinQuery, ToChildBlockJoinQuery.
>>>
>>> Mike McCandless
>>>
>>> http://blog.mikemccandless.com
>>>
>>>
>>> On Wed, Jan 29, 2014 at 4:32 AM, Priyanka Tufchi
>>> <priyanka.tufchi@launchship.com> wrote:
>>>> Subject: BlockJoinQuery is missing in lucene-4.1.0 .
>>>> To: java-user@lucene.apache.org
>>>>
>>>>
>>>> Hello ,
>>>>
>>>>  I want to  Search relational content  which has parent child
>>>> relationship . I am following below link
>>>>
>>>> http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html
>>>>
>>>> but got problem in following line
>>>>
>>>>  BlockJoinQuery skuJoinQuery = new BlockJoinQuery(
>>>>     skuQuery,
>>>>     shirts,  ScoreMode.None);
>>>>
>>>> where is "BlockJoinQuery " class in lucene-4.1.0 ? It has been
>>>> removed or some other alternative way is in  this version.
>>>>
>>>> Thanks in advance.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>>>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message