https://lucene.apache.org/core/6_2_0/join/org/apache/lucene/search/join/ToParentBlockJoinSortField.html
Fits Perfectly!
Thanks for the link!
--
View this message in context:
http://lucene.472066.n3.nabble.com/BlockJoinQuery-with-sorting-tp4307405p4307672.html
Sent from the Lucene - Java Users
As it's described in Solr space
http://blog-archive.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html
you can add a function query for price value field in a child query as
SHOULD, then pass ScoreMode into BlockJoinQuery and it will yield scores.
There are two things to mention: I&
this message in context:
http://lucene.472066.n3.nabble.com/BlockJoinQuery-with-sorting-tp4307405p4307650.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...
olve the issue.
> Thanks in advance!
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/BlockJoinQuery-with-sorting-tp4307405.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> --
is message in context:
http://lucene.472066.n3.nabble.com/BlockJoinQuery-with-sorting-tp4307405.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apac
;> On Thu, Jan 30, 2014 at 5:15 AM, Priyanka Tufchi
>>>> wrote:
>>>>> Hello Michael,
>>>>>
>>>>> We tried the sample of code but the value of "hits" we are getting
>>>>> is null. We tried to search on net but n
it would be great if you can give a look to our code.
>>>>
>>>> Thanks.
>>>>
>>>> On Wed, Jan 29, 2014 at 3:15 AM, Priyanka Tufchi
>>>> wrote:
>>>>> Hello Michael,
>>>>>
>>>>> In the ex
t;>>
>>>> whether it should convert in IndexSearcher
>>>>
>>>> there is no explanation given for document addition in blog example ?
>>>> Can you please provide helping hand.
>>>>
>>>> Thanks.
>>>>
>>>&
>>>> 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 &l
s) as the returned hits.
>>>
>>> Mike McCandless
>>>
>>> http://blog.mikemccandless.com
>>>
>>>
>>> On Wed, Jan 29, 2014 at 5:44 AM, Priyanka Tufchi
>>> wrote:
>>>> Hello Michael,
>>>>
>
gt; 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, Micha
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
ttp://blog.mikemccandless.com
>
>
> On Wed, Jan 29, 2014 at 5:44 AM, Priyanka Tufchi
> wrote:
>> Hello Michael,
>>
>> Can i get code snippet for this new classes: ToParentBlockJoinQuery,
>> ToChildBlockJoinQuery
>> and how to use it.
>>
>> than
llo 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
> wrote:
>> Sorry, BlockJoinQuery was split into two
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
wrote:
> Sorry, BlockJoinQuery was split into two separate classes:
> ToParentBlockJoi
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
wrote:
> Subject: BlockJoinQuery is missing in lucene-4.1.0 .
> To: jav
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
infixsuggester to index
(String term, long v, BytesRef payload, BytesRef2 payload) with being
new TermFreqPayload(doc.get("contents"), 3, new
BytesRef(doc.get("postId")), new BytesRef2(doc.get("commentId")) and then
just filter on postid.
Wanted to use blockjoinquery bec
Sorry, I'm not following what you're trying to do.
It sounds like you want to tweak AnalyzingInfixSuggester to somehow
use BlockJoinQuery based on the comments in your user's posts?
Can you give more of a big picture here?
Mike McCandless
http://blog.mikemccandless.com
On Th
want to use the infix suggester but instead to create different index for
every postid (which was initial consideration - not very wise one :)) I
want to create one index containing all the information about the postsid
and every comment and for every to suggest matches only for a specific
postid.
but if i want to make this a suggester will be a hard case isnt it?
p://blog.mikemccandless.com
>>
>>
>> On Wed, Aug 14, 2013 at 11:50 AM, vonPuh fonPuhendorf
>> wrote:
>> > hi, can i use BlockJoinQuery to search only relative content i.e a
>> parrent
>> > will be post id and the children will be all the comments in
hendorf
> wrote:
> > hi, can i use BlockJoinQuery to search only relative content i.e a
> parrent
> > will be post id and the children will be all the comments in the
> > threads(userids)
> >
> > and return results only for comments from exact postid? i.e user 22
Yes.
Mike McCandless
http://blog.mikemccandless.com
On Wed, Aug 14, 2013 at 11:50 AM, vonPuh fonPuhendorf
wrote:
> hi, can i use BlockJoinQuery to search only relative content i.e a parrent
> will be post id and the children will be all the comments in the
> threads(userids)
>
hi, can i use BlockJoinQuery to search only relative content i.e a parrent
will be post id and the children will be all the comments in the
threads(userids)
and return results only for comments from exact postid? i.e user 222 seach
for "blah" from postid "1234" and results f
gt;>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>>
>> On Sat, Mar 2, 2013 at 11:34 PM, Wei Wang wrote:
>>> Hello,
>>>
>>> I understand BlockJoinQuery can be used to index nested documents with
>>> some
n't join to
> anything.
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Sat, Mar 2, 2013 at 11:34 PM, Wei Wang wrote:
>> Hello,
>>
>> I understand BlockJoinQuery can be used to index nested documents with
>> some internal structure. And
ldren, but this can make searches more costly as the parent/child
docs will be matched only to then discover that they don't join to
anything.
Mike McCandless
http://blog.mikemccandless.com
On Sat, Mar 2, 2013 at 11:34 PM, Wei Wang wrote:
> Hello,
>
> I understand BlockJoinQuery c
Hello,
I understand BlockJoinQuery can be used to index nested documents with
some internal structure. And at indexing time, addDocuments is used to
create document blocks.
In case we would like to update some data fields, we have to delete
the old document block and add the updated block. How
arly missing a step or two, just not sure what! (My Project SDK is
>> correctly set to java 1.6.)
>>
>> Please can someone tell me what I need to do...
>>
>> Thanks
>>
>> - Chris
>>
>>
>>
>>
>>
>>
>>
>
wo, just not sure what! (My Project SDK is
> correctly set to java 1.6.)
>
> Please can someone tell me what I need to do...
>
> Thanks
>
> - Chris
>
>
>
>
>
>
>
>
> -Original Message-
> From: Steve Rowe
> To: java-user@lucen
Sent: Wed, 20 Feb 2013 16:57
Subject: Re: More questions on BlockJoinQuery
Hi Chris,
Sorry, the problem is that the IntelliJ and Maven support files are not
included
in Lucene source distributions. Also, both the IntelliJ and Maven
configurations assume you have Solr sources in addition to L
- Chris
>
>
>
> -Original Message-
> From: Steve Rowe
> To: java-user@lucene.apache.org
> Sent: Wed, 20 Feb 2013 16:29
> Subject: Re: More questions on BlockJoinQuery
>
>
> Hi Chris,
>
> This mailing list is fine for discussing IntelliJ and M
> Sent: Wednesday, February 20, 2013 5:45 PM
> To: java-user@lucene.apache.org
> Subject: Re: More questions on BlockJoinQuery
>
>
> Thanks Steve, sounds very useful. These are my steps:
>
> tar xzvf ~/Downloads/lucene-4.1.0-src.tgz cd lucene-4.1.0 ant ant idea
ct "lucene".
Total time: 0 seconds
What have I done wrong?
Thanks!
- Chris
-Original Message-
From: Steve Rowe
To: java-user@lucene.apache.org
Sent: Wed, 20 Feb 2013 16:29
Subject: Re: More questions on BlockJoinQuery
Hi Chris,
This mailing list is fine for discussing Intel
roblems getting it to fit with my environment
> (intelliJ / Maven).
> Where is the best forum to discuss such issues?
>
> Chris
>
>
>
>
>
> -Original Message-
> From: Michael McCandless
> To: java-user@lucene.apache.org
> Sent: Tue, 12 Feb 2
To: java-user@lucene.apache.org
Sent: Tue, 12 Feb 2013 15:17
Subject: Re: More questions on BlockJoinQuery
On Tue, Feb 12, 2013 at 7:43 AM, Chris Bamford
wrote:
>> Could you please send this to the java-user@lucene.apache.org list?
>
> I thought I did! :-) Here it is again:
question about your post "Searching relational content with Lucene's
> BlockJoinQuery"
> (http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html).
> I am actually trying to use Lucene 4.0.0, so am having to translate your
> example to
> the ne
Hi Mike,
> Could you please send this to the java-user@lucene.apache.org list?
I thought I did! :-) Here it is again:
I have a question about your post "Searching relational content with Lucene's
BlockJoinQuery"
(http://blog.mikemccandless.com/2012/01/searching-relational
ion about your post "Searching relational content with Lucene's
> BlockJoinQuery"
> (http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html).
> I am
> actually trying to use Lucene 4.0.0, so am having to translate your example
Hi Mike,
I have a question about your post "Searching relational content with Lucene's
BlockJoinQuery"
(http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html).
I am
actually trying to use Lucene 4.0.0, so am having to translate your exampl
with a sample project which uses BlockJoinQuery?
Thanks a lot!
Kind regards,
Johan Haest
Developer
Kenso nv
Haterbeekstraat 138
Tel. 016 438 870
johan.ha...@kenso.be <mailto:johan.ha...@kenso.be>
Software Builders
3200 Aarschot
gsm 0498 54 20 11
www.kenso.be <http://www.kenso.be/>
ing to delete and replace the entire collection in one fell swoop.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998902.html
> Sent from the Lucene - Java Users mailing
Is there an quick/easy way to delete the entire collection at once? Im
looking to delete and replace the entire collection in one fell swoop.
--
View this message in context:
http://lucene.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998902.html
Sent from the Lucene - Java
om the collection, or delete a child
> doc from the collection? If so, will deleting the parent doc of a collection
> orphan the associated child docs or will they automatically be deleted as
> well?
>
> thanks
> -D
>
>
>
> --
> View this message in context:
> http://
.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998891.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
, Mar 22, 2012 at 10:50 AM, kiwi clive wrote:
> Hello
>
> I've been looking at the BlockJoinQuery in Lucene 3.4.0 and would like to
> clarify my understanding.
>
> Suppose we have a parent document that we index with (say) 4 child documents.
> My understanding is that th
Hello
I've been looking at the BlockJoinQuery in Lucene 3.4.0 and would like to
clarify my understanding.
Suppose we have a parent document that we index with (say) 4 child documents.
My understanding is that these go in as an atomic unit and allows us to query
and join across the docu
o the set. Check out
Solr faceting for your requirement
Cheers,
Mark
On 10 Feb 2012, at 22:31, hasghari wrote:
> I'm trying to learn more about using BlockJoinQuery in our search application
> and I came across this blog post by Mike McCandless:
> http://blog.mikemccandless.c
I'm trying to learn more about using BlockJoinQuery in our search application
and I came across this blog post by Mike McCandless:
http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html
The blog post mentions that it is possible to do joins that can be nested
(pare
uot;on demand" if needed...
Mike McCandless
http://blog.mikemccandless.com
On Thu, Jan 26, 2012 at 1:14 PM, Francisco A. Lozano wrote:
> Hi all,
>
> I am thinking about the best way to use BlockJoinQuery to make joins
> for child documents. Is there any QueryParser implementation that can
..
Mike McCandless
http://blog.mikemccandless.com
On Tue, Oct 11, 2011 at 6:57 AM, sol myr wrote:
> Hi,
>
> I noticed that the new Lucene 3.4 supports "BlockJoinQuery" (allowing for
> 'join' or 'relation' between documents).
> I understand the documented limita
Hi,
I noticed that the new Lucene 3.4 supports "BlockJoinQuery" (allowing for
'join' or 'relation' between documents).
I understand the documented limitations on the feature (nowhere near the power
of SQL join), but it's still very useful for me :)
My quest
53 matches
Mail list logo