Sorry, The first mail I forgot to add the line for setting default
QueryParser operator. I have Included that too.
> This is the code I am using for search.
>
> public void doSearch(String userQuery, int stemFlag, int sortFlag, String[]
> sortFileds) throws Exception {
>
> PerFieldAna
Hi,
This is the code I am using for search.
public void doSearch(String userQuery, int stemFlag, int sortFlag, String[]
sortFileds) throws Exception {
PerFieldAnalyzerWrapper analyzer;
if (stemFlag == 1) {
analyzer = new PerFieldAnalyzerWrapper(new
Stemmin
You need to include your code I think. This makes no sense on a quick
look, so unless we see some code it'll be hard to know whether
we're looking at anything relevant.
Best
Erick
On Mon, Jun 2, 2008 at 1:19 AM, Sonu Sudhakar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have done some more analysis on
Hi,
I have done some more analysis on this issue. I think it is related to
lucene's default operator.
I am getting excat results, when I sets the default operator as 'OR', but
facing problem when setting the default operator as 'AND'.
The following are the lucene QueryParser outputs for both case
Erick,
Thanks for your reply.
I am working with approximately 1 million documents. They are indexed in 4
servers. Each document has multiple fields. I am using ParallelMultiSearcher
for searching purpose.
I tried a few queries in the title(TTL) field.
i started with a simple query without boole
It's unclear what you *should* expect. How is your data
distributed?
In other words, how many documents do you have? In this example,
for instance,
1. TTL:data AND TTL:store OR TTL:variable => 3,733 results
it considered the TTL:data part only.
it's perfecily reasonable if every document that had