Re: Document number

2005-10-26 Thread Gusenbauer Stefan
Gusenbauer Stefan wrote: >I've searching trough the archives but is there a way to get the >document number for a specific document? I would need it for the Method >getTermFreqVector of IndexReader? For deleting I've saved a unique ID >Field to delete the documents but

Document number

2005-10-26 Thread Gusenbauer Stefan
I've searching trough the archives but is there a way to get the document number for a specific document? I would need it for the Method getTermFreqVector of IndexReader? For deleting I've saved a unique ID Field to delete the documents but how I get the document number? thanks Stefan ---

Re: AW: Java heap space ...after index process

2005-10-26 Thread Gusenbauer Stefan
Patricio Galeas wrote: >Hello Ben, >It happens when one of the documents [4.95 MB] is indexed. >I use the framework to index office documents from the book "Lucene In >Action". I think the PDDocument objects are closed correctly. > >I'll look for more information about increasing the heap size. >

Relevance Feedback

2005-09-19 Thread Gusenbauer Stefan
Does anyone have experiences with relevance feedback and lucene or just knows some good websites? thx stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cancel search

2005-09-08 Thread Gusenbauer Stefan
Kunemann Frank wrote: >Is there a good way to cancel a search? I mean e.g. after 10 seconds or if the >user changed his mind and wants to start another query. >Till now I didn't have a query that took longer than 10 secs, but this can >happen easily when the network connection is very slow or so

aslib cranfield test collection

2005-09-07 Thread Gusenbauer Stefan
Sorry for that offtopic message but does anyone has experiences with the aslib cranfield test collection or does anyone know where i can get it? thanks in advance stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: Multiple Language Indexing and Searching

2005-09-06 Thread Gusenbauer Stefan
Olivier Jaquemet wrote: > Gusenbauer Stefan wrote: > >> I think nutch uses ngramj for language classification but i don't know >> what type of saving language information they use. In our application >> for example i save the language in an extra field in the

Re: Multiple Language Indexing and Searching

2005-09-06 Thread Gusenbauer Stefan
James Adams wrote: >Does anyone know what approach does Nutch uses? > > >-Original Message- >From: Hacking Bear [mailto:[EMAIL PROTECTED] >Sent: 06 September 2005 12:15 >To: java-user@lucene.apache.org >Subject: Re: Multiple Language Indexing and Searching > >On 9/6/05, Olivier Jaquemet <

Re: OutOfMemory when indexing

2005-06-13 Thread Gusenbauer Stefan
Harald Stowasser wrote: >Stanislav Jordanov schrieb: > > > >>High guys, >>Building some huge index (about 500,000 docs totaling to 10megs of plain >>text) we've run into the following problem: >>Most of the time the IndexWriter process consumes a fairly small amount >>of memory (about 32 megs).

Re: Confused about non-tokenized fields

2005-05-27 Thread Gusenbauer Stefan
Erik Hatcher wrote: > > On May 27, 2005, at 12:14 PM, Gusenbauer Stefan wrote: > >> Max Pfingsthorn wrote: >> >> >>> Hi! >>> >>> Thanks for the reply. I figured already that fields are actually >>> not tokenized... I lost trac

Re: Confused about non-tokenized fields

2005-05-27 Thread Gusenbauer Stefan
problem write another email *g* Stefan >Thanks! >Max Pfingsthorn > >-Original Message- >From: Gusenbauer Stefan [mailto:[EMAIL PROTECTED] >Sent: Friday, May 27, 2005 18:00 >To: java-user@lucene.apache.org >Subject: Re: Confused about non-tokenized fields > > >Ma

Re: Confused about non-tokenized fields

2005-05-27 Thread Gusenbauer Stefan
Max Pfingsthorn wrote: >Hi! > >In my application, I index some strings (like filenames) untokenized, meaning >via > >doc.add(new Field(FIELD,VALUE,false,true,false)); > >When I later take a look at it with Luke, I still get tokens of the filenames >(like "news" instead of "news-item.xml") in the

Re: Compass 0.4 Released

2005-05-03 Thread Gusenbauer Stefan
[EMAIL PROTECTED] wrote: > Hi, > > " >We are please to announce the initial release of Compass, a new > concept in semantic Search Engine/Object Mapping (OSEM) technology. >Compass is a Java framework, built on top of the Lucene Search > Engine, making it simple to map your Java object m

Re: Multiple field search problem

2005-04-25 Thread Gusenbauer Stefan
Victor Abeytua wrote: > Hello everyone, >In the project I'm currently involved we are using lucene (+ > Digester) to index a small number of XML files. To be able to perform > the searches I want, I should need to query the index with something > similar to (where fieldN are XML tags): > (fiel

Re: finding all docs with field.

2005-04-17 Thread Gusenbauer Stefan
Peter Veentjer - Anchor Men wrote: >How can I find all documents with a field (the value doesn`t matter). > >I have tried: >Query query = new TermQuery(new Term(AbstractBaseDoc.FIELD_INDEX_ERROR,"")); > > >But this never finds results. The field with name FIELD_INDEX_ERROR has been >of type U

Re: NoSuchMethodError

2005-04-10 Thread Gusenbauer Stefan
[EMAIL PROTECTED] wrote: >Hello - > >I tried to modify Document(File) method as Document1(String) of >HTMLDocument.java. The parameter is String, not File. However I got: > >Exception in thread "main" java.lang.NoSuchMethodError: >org.apache.lucene.demo.HTMLDocument.Document1(Ljava/lang/String;

Re: Can not delete cfs file

2005-04-05 Thread Gusenbauer Stefan
Gusenbauer Stefan wrote: >Erik Hatcher wrote: > > > >>On Apr 3, 2005, at 3:33 PM, Gusenbauer Stefan wrote: >> >> >> >>>Sorry for beeing late! >>>Only the test code wouldn't be very useful for understanding because >>>there

Re: Can not delete cfs file

2005-04-04 Thread Gusenbauer Stefan
Erik Hatcher wrote: > > On Apr 3, 2005, at 3:33 PM, Gusenbauer Stefan wrote: > >> Sorry for beeing late! >> Only the test code wouldn't be very useful for understanding because >> there are a lot of dependencies in the other code. I can explain what >> I

Re: Can not delete cfs file

2005-04-03 Thread Gusenbauer Stefan
Erik Hatcher wrote: Could you provide your test case code as well as the full stack trace of the error you're receiving? Erik On Apr 2, 2005, at 9:13 AM, Gusenbauer Stefan wrote: I'm writing a little application and therefore I've implemented unit tests. There i've

Re: Can not delete cfs file

2005-04-02 Thread Gusenbauer Stefan
Gusenbauer Stefan wrote: I'm writing a little application and therefore I've implemented unit tests. There i've a method to test my removeindex method, the problem is can't delete the cfs file. When i try to delete it manually it works. But within the tests the method can

Can not delete cfs file

2005-04-02 Thread Gusenbauer Stefan
I'm writing a little application and therefore I've implemented unit tests. There i've a method to test my removeindex method, the problem is can't delete the cfs file. When i try to delete it manually it works. But within the tests the method cannot delete this file. I've searched through my c

Re: Multiple Field Queries

2005-03-21 Thread Gusenbauer Stefan
Aad Nales wrote: Perhaps i misunderstand but it seems to me that if you execute the add with two times a false value you will end up with the required result. (content:test) (filename:test) which is equivalent to your requested query. hope this helps, Aad Nales Gusenbauer Stefan wrote: Hello, at

Multiple Field Queries

2005-03-21 Thread Gusenbauer Stefan
Hello, at the moment i cannot search through the mailinglist archives so i will bother you. I will search over multiple fields for example content and filename. The MultiFieldQueryParser is not applicable for me so i create the query syntax programmatically. The querystring is parsed with the Q

Re: Remove document fails

2005-03-03 Thread Gusenbauer Stefan
+0100, Gusenbauer Stefan <[EMAIL PROTECTED]> wrote: Volodymyr Bychkoviak wrote: may be you have open IndexWriter at the same time you are trying to delete document. Alex Kiselevski wrote: Hi, I have a problem doing IndexReader.delete(int doc) and it fails on lock error. Alex

Re: Remove document fails

2005-03-02 Thread Gusenbauer Stefan
Volodymyr Bychkoviak wrote: may be you have open IndexWriter at the same time you are trying to delete document. Alex Kiselevski wrote: Hi, I have a problem doing IndexReader.delete(int doc) and it fails on lock error. Alex Kiselevski +9.729.776.4346 (desk) +9.729.776.1504 (fax) AMDOCS > INTEGR