I'm pretty sure that order doesn't matter. Again, though, don't
worry about this level of trick until you can demonstrate
performance issues, your time is usually best spent in other
places
Best
Erick
On Thu, Apr 1, 2010 at 11:54 PM, wrote:
> Hello Erick,
>
> I was trying to optimise the se
Hello Erick,
I was trying to optimise the searching.
Basically my data is like field1 has less no of docs matching compared to
field2, which has larget sets.
So if search goes by order to order, then i can make field1 to be search
first, (by making order of boolean query such )and from thr the
1 apr 2010 kl. 11.21 skrev >:
its written "to do a "search within search", so that the second
search is
constrained by the results of the first query"
If I understand your needs you could while collecting search results
populate a new filter with all matching documents and use that filt
: Subject: query: order of search
: In-Reply-To: <8d42dcc0-4e03-4f8b-a6cc-c53890910...@transpac.com>
: References:
: <8d42dcc0-4e03-4f8b-a6cc-c53890910...@transpac.com>
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new dis
Why do you care? By that I mean "what problem are you trying to solve"
(See "The XY problem at http://people.apache.org/~hossman/). The reason
I'm asking here is that very often, when people ask this kind of question
without providing background, they're trying the wrong approach to solve
a problem
Query I
its written "to do a "search within search", so that the second search is
constrained by the results of the first query"
we can use boolean query.
So doesn't it mean the order of query ll be preserved
give me an simple example of how the docs get searched in lucene.
10 docs with 3 fields
> Query I
> Does the order of query play role in searching
> example:doc has fields
> rollno(pk), name, marks
>
> Query : marks=90&rollno=2&name=abc
>
> Query :rollno=2&name=abc&marks=90
>
> which query processing will be more efficient.
> is it work like search doc field by field , it will look fo
Hello
Query I
Does the order of query play role in searching
example:doc has fields
rollno(pk), name, marks
Query : marks=90&rollno=2&name=abc
Query :rollno=2&name=abc&marks=90
which query processing will be more efficient.
is it work like search doc field by field , it will look for doc havi