Re: hi compile error

2007-02-12 Thread Kapil Chhabra
Hi, replace /import org.apache.lucene.document.Field.*; / with /import org.apache.lucene.document.Field; / and you are done. Regards, kapilChhabra ashwin kumar wrote: hi all my name is ashwin i am trying to compile this program but its not getting compiled the error msg follows the code whi

Re: hi compile error

2007-02-12 Thread Doron Cohen
Hi ashwin, ashwin kumar wrote: > File fileDir = new File("C:\\files_to_index ");//fileDir is the Notice a redundant trailing space here. > document.add(Field.Text("content",textReader)); > D:\ASHWIN\testing\searching\TextFileIndexer.java:40: cannot find symbol > sy

Re: hi compile error

2007-02-12 Thread Bhavin Pandya
Hi ashwin, I think there is error in your import statement... import org.apache.lucene.document.Field; Thanks. Bhavin pandya - Original Message - From: "ashwin kumar" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 13, 2007 11:04 AM Subject: hi compile error hi all my name is ash

hi compile error

2007-02-12 Thread ashwin kumar
hi all my name is ashwin i am trying to compile this program but its not getting compiled the error msg follows the code which is below import java.io.File; import java.io.FileReader; import java.io.Reader; import java.util.Date; import org.apache.lucene.analysis.Analyzer; import org.apache.luce

Re: Benchmarker

2007-02-12 Thread Doron Cohen
Hi Karl, > Running (once) "ant jar" from the trunk directory should do it. Did it solve the problem? If so I would add a better error message for the case that the lucene jar is missing. Thanks, Doron > karl wettin wrote: > >> I can't get the benchmarker to start from ant. I'm running the >> cu

RE: Question about applications using different versions of Lucene

2007-02-12 Thread Van Nguyen
>Am I correct in understanding that you have two seperate applications: one >reading hte index and one writing the index and you only upgraded lucene >for the application that writes the index? Yes >If so, this is not a supported compatibility situation, if the wiki were >up right now there is a

Re: Question about applications using different versions of Lucene

2007-02-12 Thread Doron Cohen
Hi, I suspect what happened is result of a "mis-ordered" upgrade sequence: The first of the two applications managed to access and upgrade the index. However the second application then tried to update the already upgraded index and messed things up. I think this may even be worse, as one of the

Re: Question about applications using different versions of Lucene

2007-02-12 Thread Chris Hostetter
: I have two applications that share some of the same Lucene Indexes. I : recently upgrade the Lucene-core.jar from v2.0 to a nightly build (Feb. : 04, 2006 - I was looking for the IndexWriter class that allows you to : merge indexes w/o optimizing). Am I correct in understanding that you have t

RE: Question about applications using different versions of Lucene

2007-02-12 Thread Graham Stead
I believe the Lucene file format changed in version 2.1, and your nightly .jar file is probably v2.1. See http://lucene.apache.org/java/docs/fileformats.html#Segments%20File. I'm afraid I'm not an expert on the related compatibility issues. It has been my experience that pre-2.1 Lucene cannot read

Question about applications using different versions of Lucene

2007-02-12 Thread Van Nguyen
I have two applications that share some of the same Lucene Indexes. I recently upgrade the Lucene-core.jar from v2.0 to a nightly build (Feb. 04, 2006 - I was looking for the IndexWriter class that allows you to merge indexes w/o optimizing). Now I notice the index is a little different: P

Re: Benchmarker

2007-02-12 Thread Doron Cohen
Running (once) "ant jar" from the trunk directory should do it. Doron karl wettin <[EMAIL PROTECTED]

Re: decrypting a PDF to read the content

2007-02-12 Thread Alixandre Santana
you right. No problem. On 2/12/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: since this question seems to be entirely about extracting text with PDFBox and not at all baout indexing the text once it's been extracted, perhaps it would be better suited for the PDFBox forums... http://www.pdfbo

Re: decrypting a PDF to read the content

2007-02-12 Thread Chris Hostetter
since this question seems to be entirely about extracting text with PDFBox and not at all baout indexing the text once it's been extracted, perhaps it would be better suited for the PDFBox forums... http://www.pdfbox.org/ http://sourceforge.net/forum/?group_id=78314 ...i suspect you would find a

Re: decrypting a PDF to read the content

2007-02-12 Thread Alixandre Santana
I´m using PDFBox 0.7.3 The problem i think its that i´m encrypting a PDF with Itext, with a "null" User/Owner password. Then i try to decrypt the doc with a class from PDFBOx. Its exactly there that occurs the exception. That is, a format incompability problem. In addition, i didnt found the "o

Benchmarker

2007-02-12 Thread karl wettin
I can't get the benchmarker to start from ant. I'm running the current SVN snapshot. Lucene isn't found in the classpath. But where should I place my lucene.jar? I see it beeing referenced to in the build.xml, but the path differs from the dependencies in ./lib. Please advice, I've been n

Re: search on colon ":" ending words

2007-02-12 Thread Antony Bowesman
Not sure if you're still after a solution, but I had a similar issue and I modified QueryParser.jj to not treat : as a field name terminator, so work: would then just be given as work: to the analyzer and treated as a search term. Antony Felix Litman wrote: We want to be able to return a res

Re: decrypting a PDF to read the content

2007-02-12 Thread Ben Litchfield
PDFBox comes with a version of BouncyCastle that will work. It is likely that other versions will also work as well. Is there a specific version that you have tried and didn't work? Ben Quoting Alixandre Santana <[EMAIL PROTECTED]>: Hi All, I got this error when i tried to decrypt a pdf d

Re: using DisjunctionMaxQuery

2007-02-12 Thread Chris Hostetter
: First, a quick check on how to use it. : I tried looking for javadocs, and the mailing list archive, but could not : find much. the javadocs seem pretty clear to me... "A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum scor

RE: Solr issue

2007-02-12 Thread Chris Hostetter
: SOLR seem to have a problem if you don't specify the full path to : java.exewhen starting Jetty. To clarify: this isn't an issue with Solr, or with Jetty - it's an issue with Windows java installations ignoring JAVA_HOME in favor of a registry key; so no matter which java.exe comes first in you

decrypting a PDF to read the content

2007-02-12 Thread Alixandre Santana
Hi All, I got this error when i tried to decrypt a pdf document encrypted by com.lowagie.text.pdf.PdfEncryptor class, with a null password: "java.lang.NoClassDefFoundError: org/bouncycastle/cms/CMSException" Does anyone know which version of Bouncy Castle is the right one to use with PDFBox API

RE: Solr issue

2007-02-12 Thread Kainth, Sachin
Cool thanks Marius that did the trick. It's a shame I spent most of the day fiddleing with Java_home and classpath environment variables and copying tools.jar to various locations and all sorts of other things I read on forums and it turns out to be this! -Original Message- From: Marius

Re: Solr issue

2007-02-12 Thread Marius Hanganu
SOLR seem to have a problem if you don't specify the full path to java.exewhen starting Jetty. Here's my script for starting SOLR: d:\programs\jdk15\bin\java -jar start.jar Regards, Marius Hanganu On 2/12/07, Kainth, Sachin <[EMAIL PROTECTED]> wrote: Hello all, When running the example in t

Re: Solr issue

2007-02-12 Thread Grant Ingersoll
You should ask on the Solr list. On Feb 12, 2007, at 11:25 AM, Kainth, Sachin wrote: Hello all, When running the example in the solr release has anyone come up with the following issue when going to http://localhost:8983/solr/admin/: HTTP ERROR: 500 Unable to compile class for JSP Generat

Solr issue

2007-02-12 Thread Kainth, Sachin
Hello all, When running the example in the solr release has anyone come up with the following issue when going to http://localhost:8983/solr/admin/: HTTP ERROR: 500 Unable to compile class for JSP Generated servlet error: 12-Feb-2007 16:24:17 org.apache.jasper.compiler.Compiler generateClass SEV