your
> search?
>
> -h
>
>
>
> - Original Message
> From: Marco Lazzara
> To: java-user@lucene.apache.org
> Sent: Wednesday, May 27, 2009 2:41:44 PM
> Subject: Re: Searching index problems with tomcat
>
> I've made a bad copy-paste. this is the full c
, the default field
> used to construct the QueryParser is what's being used for your query,
> correct? Could you post: 1. The code used to construct the QueryParser? 2.
> The output of query.toString() when the sentence parameter is
> "PHILIPCIMIANO"? -h On 27-Ma
; Could you also post the code for RDFinder.Search() and the output from
> query.toString() when text is "PHILIPCIMIANO"?
>
> -h
>
>
> On 27-May-2009, at 12:40 PM, Marco Lazzara wrote:
>
> String[] fieldsearch = new String[] {"name", "synonyms"
Exception e1) {
e1.printStackTrace();
} catch (IOException e1) {
e1.printStackTrace();
}
Marco Lazzara
2009/5/27 N. Hira
> Okay -- that helps.
>
> So we know that searching the same files with Luke works, but with the web
> app does not
Lucene recognizes the index (when it isn't empty) but on the
webapp It obtains no result
Marco Lazzara
2009/5/27 N. Hira
> Okay -- if the problem is not the number of results, then let's clarify the
> problem:
>
> 1. You create an index in something like:
>/home/ma
In my app I obtain 3 results.But I think is not a problem
Marco Lazzara
2009/5/27 Erick Erickson
> StandardAnalyzer is fine. I loaded your index into Luke and there is
> exactly
> one document with philipcimiano in the name field.
> There is only one document that has researcher
example) only 3 files of
5.
Any ideas???
Marco Lazzara
2009/5/27 N Hira
>
> Sorry for the confusion -- I checked the archive and I could not find a
> message where you have been able to open the index using Luke.
>
> Have you been able to do that? I see that you have reported the
in your index using Luke?
>
> Good luck.
>
> -h
>
>
>
> - Original Message
> From: Marco Lazzara
> To: java-user@lucene.apache.org
> Sent: Tuesday, May 26, 2009 3:45:38 PM
> Subject: Re: Searching index problems with tomcat
>
> I tried differen
ption : "no segments* file found in
org.apache.lucene.store.
>
> ramdirect...@home/marco/testIndex"
It means that Lucene tries to search in that index but it fails..maybe the
index is incorrect for a webapp???
MARCO LAZZARA
2009/5/26 Matthew Hall
> Right.. so perhaps
12:00 segments.gen
but when I run the query I obtain no results
Why in my folder there are only 3 files???
Marco Lazzara
2009/5/24 Marco Lazzara
> Hi.At step 2 I have only 3 files in the folder,but i think is not a
> problema.I've tried to create the index in the web app e not only in
at java.lang.Thread.run(Thread.java:619)
this changes everytime one time it is: no segments* file found in
org.apache.lucene.store.ramdirect...@*1c2ec05*
the second it is no segments* file found in
org.apache.lucene.store.ramdirect...@*170b819*
On the standalone it works perfectly.
Marco Lazzara
2009
hen you
> have chased down the full debugging path for this.
>
> If this yields nothing for you, I'd be happy to take a closer look at your
> source code, but until then give this a shot.
>
> Oh.. if it fails, please post back EXACTLY which steps in the above
> outlined proc
x27;s the default index write behavior.
>
> It will create any directory that you ask it to.
>
> Matt
>
>
> Marco Lazzara wrote:
>
>> ok.I understand what you really mean but It doesn't work.
>> I understand one thing.For example When i try to open an index
ok.I understand what you really mean but It doesn't work.
I understand one thing.For example When i try to open an index in the
following location : "RDFIndexLucene/" but the folder doesn't exist,*Lucene
create an empty folder named "RDFIndexLucene"* in my home folder
I was talking with my teacher.
Is it correct to use FSDirectory?Could you please look again at the code
I've posted here??
Should I choose a different way to Indexing ??
Marco Lazzara
2009/5/22 Ian Lea
> OK. I'd still like to see some evidence, but never mind.
>
> Nex
u are running it
>> from. Tomcat's default directory may well not be the same as yours.
>> I strongly suggest that you use a full path name and/or provide some
>> evidence that your readers and writers are using the same directory
>> and thus lucene index.
>>
>&g
Sorry :( :( :(
I'm still trying to fix the problem I'll answer in a few hours...
MARCO LAZZARA
> Its been a few days, and we haven't heard back about this issue, can
> we assume that you fixed it via using fully qualified paths then?
>
> Matt
>
> Ian Lea wro
} catch (IOException e1) {
e1.printStackTrace();
}
Marco Lazzara
> Sorry, anyhow looking over this quickly here's a summarization of what
> I see:
>
> You have documents in your index that look like the following:
>
> name which is indexed and stored.
>
//aggiunta documento all'indice
iwriter.addDocument(doc);
}
iwriter.close();
directory.close();
}
public int getNR(){
return rs.NumResource();
}
}
MARCO LAZZARA
> Things that could help us
- what do IndexReader.maxDoc(), numDocs()
and getVersion() say, standalone
and in tomcat?
*_What do you mean with this question??
P.S: I've followed a getting started topic on lucene web page
http://lucene.apache.org/java/2_4_1/demo.html
But with not satisfaction result.
Marco Lazzara
So you say it
index
> somehow from your server and e.g. store it in a RAMDirectory or a temp
> folder.
>
> Uwe
>
> -
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
> > -Original Message-
> >
the same index from my standalone
app.
I've tried to put the index everywhere but the result is always the
same.
Please help me!!!
Marco Lazzara
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For ad
Hi everybody,
I've a problem with my searching index.
I've created a stand alone application and it works perfectly.I've put
them on tomcat launching with java web start but If I run the query(the
same query) I always obtain no resultplease help me!!!
Marco Lazzara
Il gi
Hi everybody,
I've a problem with my searching index.
I've created a stand alone application and it works perfectly.
I've put them on tomcat launching with java web start,but if I run the
query(the same query) I always obtain no results!!!Why??
help Me!!!thanks a lot!!
Marco Laz
24 matches
Mail list logo