Re: BlockJoinQuery with sorting

2016-11-28 Thread ASKozitsin
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

Re: BlockJoinQuery with sorting

2016-11-28 Thread Mikhail Khludnev
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&

Re: BlockJoinQuery with sorting

2016-11-28 Thread ASKozitsin
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...

Re: BlockJoinQuery with sorting

2016-11-26 Thread Mikhail Khludnev
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. > > --

BlockJoinQuery with sorting

2016-11-25 Thread ASKozitsin
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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Michael McCandless
;> 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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Priyanka Tufchi
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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Michael McCandless
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. >>>> >>>&

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Priyanka Tufchi
>>>> 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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Michael McCandless
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, >>>> >

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-30 Thread Priyanka Tufchi
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

BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Michael McCandless
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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
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

Re: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Michael McCandless
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

Fwd: BlockJoinQuery is missing in lucene-4.1.0 .

2014-01-29 Thread Priyanka Tufchi
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

Re: BlockJoinQuery

2013-08-15 Thread vonPuh fonPuhendorf
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

Re: BlockJoinQuery

2013-08-15 Thread Michael McCandless
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

Re: BlockJoinQuery

2013-08-14 Thread vonPuh fonPuhendorf
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.

Re: BlockJoinQuery

2013-08-14 Thread vonPuh fonPuhendorf
but if i want to make this a suggester will be a hard case isnt it?

Re: BlockJoinQuery

2013-08-14 Thread Michael McCandless
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

Re: BlockJoinQuery

2013-08-14 Thread vonPuh fonPuhendorf
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

Re: BlockJoinQuery

2013-08-14 Thread Michael McCandless
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) >

BlockJoinQuery

2013-08-14 Thread vonPuh fonPuhendorf
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

Re: BlockJoinQuery: delete documents

2013-03-05 Thread Wei Wang
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

Re: BlockJoinQuery: delete documents

2013-03-03 Thread Wei Wang
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

Re: BlockJoinQuery: delete documents

2013-03-03 Thread Michael McCandless
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

BlockJoinQuery: delete documents

2013-03-02 Thread Wei Wang
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

Re: More questions on BlockJoinQuery

2013-02-28 Thread Steve Rowe
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 >> >> >> >> >> >> >> >

Re: More questions on BlockJoinQuery

2013-02-28 Thread Steve Rowe
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

Re: More questions on BlockJoinQuery

2013-02-28 Thread Chris Bamford
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

Re: More questions on BlockJoinQuery

2013-02-20 Thread Steve Rowe
- 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

RE: More questions on BlockJoinQuery

2013-02-20 Thread Uwe Schindler
> 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

Re: More questions on BlockJoinQuery

2013-02-20 Thread Chris Bamford
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

Re: More questions on BlockJoinQuery

2013-02-20 Thread Steve Rowe
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

Re: More questions on BlockJoinQuery

2013-02-20 Thread Chris Bamford
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:

Re: More questions on BlockJoinQuery

2013-02-12 Thread Michael McCandless
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

Re: More questions on BlockJoinQuery

2013-02-12 Thread Chris Bamford
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

Re: More questions on BlockJoinQuery

2013-02-12 Thread Michael McCandless
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

More questions on BlockJoinQuery

2013-02-11 Thread Chris Bamford
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

Sample code for blockjoinquery

2012-08-07 Thread Johan Haest
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/>

Re: BlockJoinQuery Clarification

2012-08-02 Thread Michael McCandless
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

Re: BlockJoinQuery Clarification

2012-08-02 Thread developer3459
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

Re: BlockJoinQuery Clarification

2012-08-02 Thread Michael McCandless
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://

Re: BlockJoinQuery Clarification

2012-08-02 Thread developer3459
.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998891.html Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Re: BlockJoinQuery Clarification

2012-03-22 Thread Michael McCandless
, 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

BlockJoinQuery Clarification

2012-03-22 Thread kiwi clive
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

Re: Nested BlockJoinQuery

2012-02-11 Thread Mark Harwood
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

Nested BlockJoinQuery

2012-02-11 Thread hasghari
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

Re: BlockJoinQuery in text queries

2012-01-26 Thread Michael McCandless
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

Re: Using BlockJoinQuery?

2011-10-11 Thread Michael McCandless
.. 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

Using BlockJoinQuery?

2011-10-11 Thread sol myr
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