Hi ALL
I am working on a project which uses lucene for searching . I am
struggling with boolean based Query : Actual Scenario is
e.g
In Query, if I give house home flat
then
inside It should search house or home or flat but I want to give them
with weightage like house and home should get
Great! Thanks for letting us know
-Mike
On 1/22/15 2:07 PM, McKinley, James T wrote:
Hi Mike,
I guess given the difficulty I've had getting the block join query to work it
didn't occur to me to try and combine it in a BooleanQuery. :P Using the BJQ
in a BooleanQuery with other TermQuerys w
Hi Mike,
I guess given the difficulty I've had getting the block join query to work it
didn't occur to me to try and combine it in a BooleanQuery. :P Using the BJQ
in a BooleanQuery with other TermQuerys works fine and does exactly what I
wanted! Thanks very much for your help!
Jim
I think the idea is that you create a blockjoinquery that encapsulates
the join relation, and then you can create additional constraints in the
result document space. In the case of ToChildBJQ, the result documents
are child documents, so any additional query constraints will be applied
to chil
Hi Greg,
Thanks describing how block join queries were intended to work. Your
description makes sense to me, however according to the API docs:
http://lucene.apache.org/core/4_8_0/join/org/apache/lucene/search/join/ToChildBlockJoinQuery.html
and particularly the naming of the parameters I don'
Hi,
why do you try to configure the IndexWriter with outdated merge policies and
lots of custom settings for buffering? I would start without any such settings
and use IndexWriter with plain default settings. If I hit issues, then it may
be useful to change merging and buffering settings. It lo
Yeah I know -- we've been around this block before. I agree that the
whole block indexing/searching feature is a bit confusing, trappy and
error-prone, and it may be helpful to have those boundary conditions as
signposts, but in my case relaxing the restriction enabled me to execute
the querie
Mike,
I agree that it's not absolutely necessary to enforce children not being
their own parent. I was just trying to describe the current
implementation, and why you were seeing exceptions.
The difference is mostly philosophical. The advantage of the current
approach (in my opinion) is that it
Hi Sai,
hopes you have successfully migrated to 4.0
we also migrating from 2.4 to 4.10, but after updating to 4.10 it is taking
more time than 2.4.
I have posted a query , below is the link... help me.
http://lucene.472066.n3.nabble.com/Multiple-CFS-files-are-generated-in-lucene-4-10-2-td417633