Yes. The query is bit long, which is the major reason.
-- --
??: "Trejkaz";
: 2012??8??16??(??) 11:09
??: "java-user";
: Re: Why does this query slow down Lucene?
On Thu, Aug 16, 2012 at 11:27 AM, zhoucheng2008 wrote:
>
I know the reason of no hits.
Without configuring autoGeneratePhraseQueries, a term like "I love you" is
split into "I", "love", and "you", therefore getting quite a lot hits.
On the contrary, the term is not split, and no hits.
-- Original --
From: "Jack K
I should have made it more clear.
When I said no hits, I referred to no hits by other ordinary term such as "Gone
with Wind".
I do analyze the query. When "True" is on for autoGeneratePhraseQueries, the
term is parsed as "cla war" with a space sit between.
When "False", it becomes two phras
No results are returned after I add qp.setAutoGeneratePhraseQueries(true).
After I remove qp.setAutoGeneratePhraseQueries(true), I can get results back.
Anything should be taken care of before/after adding the line of code?
-- Original --
From: "Jack Krupans
I am confused by the ES instance.
Is it used for reading indexes only, or for creating and executing runnable
instances like in my example?
-- Original --
From: "Michael McCandless";
Date: Mon, Jan 16, 2012 02:53 AM
To: "java-user";
Subject: Re: How NRTM
t you've done to
>> the RAM index.
>>
>> Sounds you want to call addIndexes using a writer on a new, empty,
>> index or overwrite the original. IndexWriterConfig.OpenMode CREATE.
>>
>>
>> --
>> Ian.
>>
>>
>> On Mon, Jan
I'd better provide a snapshot of my code for people to understand my issues:
File file=new File("c:/index_files");
FSDirectory fsDir=new FSDirectory(file);
RAMDirectory ramDir=new RAMDirectory(fsDir, new
IndexWriterConfig(Version.LUCENE_35, new StandardAnalyzer());
IndexWriter iw = new IndexWr
will the solution provided by Charlie Hubbard do the work?
I am not sure I understand the "writer.addIndexes( ram );" part.
What if there are inconsistent data between FS and RAM? What if in a
multi-threading environment one thread try to synchronize the two while the
other thread keeps writi
thanks that solved my problem.
-- Original --
From: "Uwe Schindler";
Date: Fri, Dec 30, 2011 05:27 AM
To: "java-user";
Subject: RE: Can't get a hit
Hi,
IndexReaders, on which you are doing the search, are a snapshot of the index
at the time it was opene
Hi,
I would like to read the term and its frequency or score out of indices. How
can I do it using Java?
Thanks!
10 matches
Mail list logo