Hi guys,
I have some problem while searching using Lucene. Say I have some thing
like "tirupathireddy" or "venkatreddy" in the index. When i search for string
"reddy" I have to get those things (i.e. "tirupathireddy" and
"venkatreddy"). I have read in Query syntax of Lucene that * wil
Hello,
I read the following statement :
Note: You cannot use a * or ? symbol as the first character of a search.
in this page: http://lucene.apache.org/java/docs/queryparsersyntax.html
So that's why I thought of that. And at present I am using QueryParser. So it
is giving error for *redd
Hello Luc,
You are correct in that case. But if I have a string like manyamreddyvenkat.
If I want to search for reddy, then I can't get that though I index all the
entries in the reverse order. Is there any other way.
Thanx,
MTREDDY
Tirupati Reddy Manyam
24-06-08,
Sundugaullee-24,
791
Hello,
I am using Lucene for for searching in my application.
My application needs prefix wildcard search also.
But Lucene doesn't support this. So I changed in the QueryParser.jj file
FROM:
|
(<_TERM_CHAR> | ( [ "*", "?" ] ))* >
To:
| | ( [ "*", "?" ] ))* >
And then I build
Hello Erik,
The output from ant command is :
C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3>ant
Buildfile: build.xml
init:
[mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\build
[mkdir] Created dir: C:\LUCENE-CURRENT\SOURCE\lucene-1.4.3\dist
compile-core:
[mkdir] Created dir: C:
Hello,
How the hits are ranked in default case. If I have say some query like this:
title:"measurement procedure" AND id:ep6289*
Say I have some 10 documents matched with that query, how my hits will be
displayed. Which record will display first and how it will do the ranking in
default
hello erik,
I don't have that book. Is it available in the internet?
Thanx,
MTREDDY
Tirupati Reddy Manyam
24-06-08,
Sundugaullee-24,
79110 Freiburg
GERMANY.
Phone: 00497618811257
cell : 004917624649007
-
Yahoo! for Good
Click here to
Hello,
I have to index the text in the .txt document. This text document contains
english characters , german characters etc. Please tell me how can I index that
text document. Is the procedure of indexing RTF documents can be applied here?
thanx,
MTREDDY
Tirupati Reddy Manyam
24-06-08
hello,
I am using the following code to index text files.
InputStream is = new FileInputStream(pdf);
DefaultStyledDocument styledDoc = new DefaultStyledDocument();
try {
new RTFEditorKit().read(is, styledDoc, 0);
bodyText = styledDoc.getText(0, styledDoc.getLe
Hello,
SO now How can I index the text files in Lucene?
Thanx,
MTREDDY
Tirupati Reddy Manyam
24-06-08,
Sundugaullee-24,
79110 Freiburg
GERMANY.
Phone: 00497618811257
cell : 004917624649007
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail
Hello,
While searching if I enter one or two characters. It founds lot of results
as I can say almost all and at that time it is giving the following error.
8028 total matching documents
caught a class org.apache.lucene.search.BooleanQuery$TooManyClauses
with message: null
And search is
11 matches
Mail list logo