Hello Mohammad,
You don't have to remove the lucene-core jar file, just play with the
classpath order to load the jar files.
You have two possibilities:
1.- Use the searcher wrapper (valid for Lucene 2.0 or 2.1 version): Put
"lu-collector-0.8.jar" AFTER "lucene-core-2.1.0.jar" and wrap any
I
am sorry , guess "*" caused confusion.
My question is that, using jakarta&apache am able to search for jakarta
apache, but
was confused as no reference to this query String(jakarta&apache) could find
anywhere on net.
So just wanted to make sure if
jakarta&apache -> jakarta apache
like
"jakarta
Am using lucene search. I have a field as "summary" in my Document, which is
having large amount of content/data. In each search i want to get not more
than 200 words from the field "summary". Now i want that in the 200 words
that i get, there should be search String available. If this possible in
Looks like the Lucene libraries are not in your classpath.
On Mar 11, 2007, at 12:08 AM, ashwin kumar wrote:
hi all my name is ashwin i am trying to connect my servlet front
end to my
backend lucene search program
these r the two programs
<>
import javax.servlet.*;
import javax.servlet.ht
Hi there,
I'm indexing a lot of documents with lucene and I'm really happy with
it :)
Observing my users, I understand they are querying only small range of
time. Often, they only read results back from 1 month.
I got some years in my 1.3Go index. Querys takes some seconds getting
and returni
1> what analyzers are you using at index time?
2> Have you used Luke to look at your index and see what's actually there?
It's entirely possible that what you really have in your index is, as you
suspect, 839930494, it all depends upon the analyzer you used.
Erick
On 3/11/07, Harini Raghavan <[
It depends upon your analyzer during both index and search operations.
WhitespaceAnalyzer would do nothing to your string, and
you'd have "jakarta&apache".
StandardAnalyzer would give you two terms, "jakarta" and "apache"
and at query time this would be either jakarta AND apache
or jakarta OR ap
Search the mail archive for DateRange, Date, DateTools
ConstantScoreRangeQuery, etc and you'll find a wealth of
discussion on dates, which turn out to be
more complex than you think ...
But the first thing I'd think about is your resolution. Understand
that range queries may assemble a giant OR q
"ruchi thakur" <[EMAIL PROTECTED]> wrote on 11/03/2007 04:36:39:
> So just wanted to make sure if
>
> jakarta&apache -> jakarta apache
> like
> "jakarta apache" -> jakarta apache
>
> ie; jakarta&apache seaches for phrase jakarta apache
> Regards,
> Ruchi
q1: jakarta&apache -> BooleanQurey("jak
Thanks a lot for your help..
below is a snapshot from the code, am using for search
org.apache.lucene.analysis.StopAnalyzer sa = new
org.apache.lucene.analysis.StopAnalyzer();
org.apache.lucene.analysis.Analyzer analyzer = sa;
QueryParser parser = new QueryParser(dIndexField, analyzer);
Query que
ashwin kumar wrote:
java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
mainpage.doGet(mainpage.java:54)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
filters.ExampleFilter.doFilter(Exam
Thanx for your help. I am using now lucene 2.1 and no problems anymore.
cheers
Rob
There are several sneaky IO related issues in Lucene, that have now been
fixed
in Lucene 2.1, that could explain this. Is it possible to test Lucene
2.1 to
see if this issue is still happening?
Mike
"robisbob" <[EMAIL PROTECTED]> wrote:
> Thanx for your help. I am using now lucene 2.1 and no problems anymore.
>
> cheers
> Rob
>
> > There are several sneaky IO related issues in Lucene, that have now been
> > fixed
> > in Lucene 2.1, that could explain this. Is it possible to test Lucene
> >
On 11 Mar 2007 at 22:58, ruchi thakur wrote:
> Thanks a lot for your help..
> below is a snapshot from the code, am using for search
> org.apache.lucene.analysis.StopAnalyzer sa = new
> org.apache.lucene.analysis.StopAnalyzer();
> org.apache.lucene.analysis.Analyzer analyzer = sa;
> QueryParser p
ok, so does that mean i can use both q1 and q2 for phrase query ie; for
searching words adjacent to each other. Actually that was my only concern,
as i wanted to use q1 for phrase query, rather than q2.
Regards,
On 3/12/07, Steffen Heinrich <[EMAIL PROTECTED]> wrote:
On 11 Mar 2007 at 22:58, ru
Note: forwarded message attached.
-
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.--- Begin Message ---
Hi all,
I'm new to this group,
I'm using lucene for indexing. I have a problem. Any help gratly appreciate.
Hi all,
I'm new to this group,
I'm using lucene for indexing. I have a problem. Any help gratly appreciate.
Please see the following code
// three fields
MultiFieldQueryParser parser = new MultiFieldQueryParser(new String[]{"title",
"tags", "content"}, new StandardAnalyzer());
// OR operator
pa
Hi Erick,
I am using StandardAnalyzer. Also I have used LUCLI to query the index and
it shows the value for the Id field with the underscore. But I am unable to
retrieve the document with any of the queries in Lucli :
lucli> tokens +Id:_839930494
-or-
lucli> tokens +Id:839930494
I have no clue
hi all i am able to convert a pdf in to a text file using pdfbox. and this
is the code that i used
import org.pdfbox.pdfparser.PDFParser;
import org.pdfbox.pdmodel.PDDocument;
import org.pdfbox.util.PDFTextStripper;
import org.pdfbox.*;
import java.io.*;
public class PDFConvert
{
public static
12 mar 2007 kl. 07.03 skrev ashwin kumar:
hi all i am able to convert a pdf in to a text file using pdfbox.
and this
is the code that i used
{
String pdfFile=new String ("D:\\ASHWIN\\res\\ashwin.pdf");
PDDocument doc = PDDocument.load(pdfFile);
PDFTextStripper strip = new PDFTextStr
12 mar 2007 kl. 06.01 skrev Harini Raghavan:
I am using StandardAnalyzer. Also I have used LUCLI to query the
index and
it shows the value for the Id field with the underscore. But I am
unable to
retrieve the document with any of the queries in Lucli :
lucli> tokens +Id:_839930494
-or-
lu
I want to search for phrase „innere Organe" bezeichnet
am using query q1 = "„innere Organe\" bezeichnet"
is there any issue with q1
am getting Exception in retrieveQuery().IndexDirec:Lexical error at line 1,
column 30. Encountered: after : ""
Regards,
Ruchika
it says that the requested URL is not found
On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote:
12 mar 2007 kl. 07.03 skrev ashwin kumar:
> hi all i am able to convert a pdf in to a text file using pdfbox.
> and this
> is the code that i used
> {
>
>String pdfFile=new String ("D:\\ASHWIN\\
12 mar 2007 kl. 07.44 skrev ashwin kumar:
it says that the requested URL is not found
Compare the URL in your browser with the URL in the mail. Perhaps
your mail client does not handle the line feed?
On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote:
12 mar 2007 kl. 07.03 skrev ashwi
12 mar 2007 kl. 07.44 skrev ruchi thakur:
I want to search for phrase „innere Organe" bezeichnet
am using query q1 = "„innere Organe\" bezeichnet"
is there any issue with q1
am getting Exception in retrieveQuery().IndexDirec:Lexical error at
line 1,
column 30. Encountered: after :
org.apache.lucene.queryParser.ParseException: Lexical error at line 1,
column 30. Encountered: after : ""
On 3/12/07, ruchi thakur <[EMAIL PROTECTED]> wrote:
I want to search for phrase „innere Organe" bezeichnet
am using query q1 = "„innere Organe\" bezeichnet"
is there any issue wi
no, i just get the folowing
org.apache.lucene.queryParser.ParseException: Lexical error at line 1,
column 30. Encountered: after : ""
On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote:
12 mar 2007 kl. 07.44 skrev ruchi thakur:
> I want to search for phrase „innere Organe" bezeichnet
> am
ya sorry got it but that link contains only a program to index text i have
already successfully indexed .txt now want to index pdf
On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote:
12 mar 2007 kl. 07.44 skrev ashwin kumar:
> it says that the requested URL is not found
Compare the URL in you
12 mar 2007 kl. 07.53 skrev ruchi thakur:
no, i just get the folowing
org.apache.lucene.queryParser.ParseException: Lexical error at line 1,
column 30. Encountered: after : ""
The problem is probably that you have a " in your query, and it
expects an end "-token. So it needs to be escaped.
12 mar 2007 kl. 07.54 skrev ashwin kumar:
ya sorry got it but that link contains only a program to index text
i have
already successfully indexed .txt now want to index pdf
You can not index the PDF. You need to index the text you have
extracted.
>> >content = strip.getText(doc);
yes that is exactly what i am doing
in java String i have something like
String aSearchStr = "\"„innere Organe\\\" bezeichnet\"";
Query query = parser.parse(aSearchStr);
2nd line to parse gives me the Exception. In this case as i understand the
search String input that goes to lucene is actually
Why nobody is anwering me?
Pls help me.
Chaminda Amarasinghe <[EMAIL PROTECTED]> wrote:
Hi all,
I'm new to this group,
I'm using lucene for indexing. I have a problem. Any help gratly appreciate.
Please see the following code
// three fields
MultiFieldQueryParser parser = new MultiFieldQuer
12 mar 2007 kl. 08.35 skrev Chaminda Amarasinghe:
Why nobody is anwering me?
Pls help me.
It might take some time until someone that knows the answer reads you
question.
Chaminda Amarasinghe <[EMAIL PROTECTED]> wrote:
Hi all,
I'm new to this group,
I'm using lucene for indexing. I
thanks karl,
karl wettin <[EMAIL PROTECTED]> wrote:
12 mar 2007 kl. 08.35 skrev Chaminda Amarasinghe:
> Why nobody is anwering me?
> Pls help me.
It might take some time until someone that knows the answer reads you
question.
>
> Chaminda Amarasinghe wrote:
> Hi all,
>
> I'm new to this grou
34 matches
Mail list logo