Hi all,
We are using Lucene 2.9.0 to power a search and are performing a large
number of searches. We are initializing our searcher with the code:
Directory directory = FSDirectory.open(new File(Constants.IndexLocation));
Searcher searcher = new IndexSearcher(directory,true);
Upon every search
If I've read your example correctly it appears that at indexing your
analyzer is converting bloom's to bloom but not at search time.
Which implies that you aren't using the same analyzer in both cases.
--
Ian.
On Mon, Jul 11, 2011 at 4:19 PM, jm jmugur...@gmail.com wrote:
*Hi,*
*
*
*My env
Lucene does not cache results. Operating systems do cache things and
on unix anyway (no idea about windows) some speedups over time can
reasonably be attributed to disk caching by the OS.
Have you profiled your app to find out exactly what is using the
memory? Do you just use the one searcher or
*But I think I am! I build the QueryParser with the same analyzer I used at
index time...
*
*
*
*Anyway, I'll try to build a self contained example independent of my app
code.
*
On Tue, Jul 12, 2011 at 1:01 PM, Ian Lea ian@gmail.com wrote:
If I've read your example correctly it appears that
*Here is a self contained code:
*
*
*
*
I verified with luke no 's' is indexed in the index. The output I get is:
testChars
:(bloom's*) got 0 Query is: :bloom's*
:(bloom) got 1 Query is: :bloom
:(bloom AND b*) got 1 Query is: +:bloom +:b*
So what I don't understand why
Wildcard queries don't use the analyzer, as the analyzer may also remove the
*. To work around this, there is an AnalyzingQueryParser in contrib, but
be aware, that it may not always work as expected.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail:
Hi,
I am running some AutomatonQueries and see caching effects happening, that I
can't seem to get rid of. E.g. an AutomatonQuery takes
Run 1: 3000 ms
Run 2 and all subsequent runs: 250 ms
The IndexSearcher is closed after every full query circle (and opened via
open(Directory), so the
The index looks to be fine but when I tip http://localhost:8080/nutch/;
this come out
Estado HTTP 500 -
type Informe de Excepción
mensaje
descripción El servidor encontró un error interno () que hizo que no
pudiera rellenar este requerimiento.
excepción
org.apache.jasper.JasperException:
I forgot to say .. Im using Nutch,
The index looks to be fine but when I tip http://localhost:8080/nutch/;
this come out
Estado HTTP 500 -
type Informe de Excepción
mensaje
descripción El servidor encontró un error interno () que hizo que no
pudiera rellenar este requerimiento.
On Tue, Jul 12, 2011 at 10:42 AM, René Hackl rene.a.ha...@gmx.de wrote:
Hi,
I am running some AutomatonQueries and see caching effects happening, that I
can't seem to get rid of. E.g. an AutomatonQuery takes
Run 1: 3000 ms
Run 2 and all subsequent runs: 250 ms
The IndexSearcher is closed
Hey all - just a friendly FYI reminder:
CALL FOR PARTICIPATION CLOSES FRIDAY, JULY 15!
TO SUBMIT A TOPIC, GO TO: http://2011.lucene-eurocon.org/pages/cfp
Now in its second year, Apache Lucene Eurocon 2011 comes to Barcelona, Spain,
providing an unparalleled opportunity for European search
This sounds plausible, even if manually cleaning the Java cache has no
effect. Probably a JDK/JRE mismatch somewhere, just have to find the spot.
Thanks,
Rene
Am 12.07.2011 19:22, schrieb Robert Muir:
On Tue, Jul 12, 2011 at 10:42 AM, René Hacklrene.a.ha...@gmx.de wrote:
Hi,
I am running
Hi rene,
On Tue, Jul 12, 2011 at 10:12 PM, Rene Hackl-Sommer rene.a.ha...@gmx.de wrote:
This sounds plausible, even if manually cleaning the Java cache has no
effect. Probably a JDK/JRE mismatch somewhere, just have to find the spot.
this is very likely your OS pushing frequently use data into
maybe you should try the nutch mailing list, this one is for lucene users.
-- http://nutch.apache.org/mailing_lists.html
simon
On Tue, Jul 12, 2011 at 6:48 PM, Marlen zmach...@facinf.uho.edu.cu wrote:
I forgot to say .. Im using Nutch,
The index looks to be fine but when I tip
Hello,
I need some help doing a search.
Say I have a really simple document structure, just 1 field, labeled name.
I need to retrieve all the names whose length is more or less than a
specified value. By length I mean String.length().
A range filter seems close in concept, but I couldn't find a
15 matches
Mail list logo