There is a Class org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter which
have two parameters,one is DEFAULT_MIN_BLOCK_SIZE,the other is
DEFAULT_MAX_BLOCK_SIZE;their default values is 25 and 48;when I make their
values to bigger,for example,200 and 398;And then to make index,the result is
Hi:
Would you mind doing websearch and cataloging the relevant pages into a
primer?
Thx,
Will
-Original Message-
From: 王建军 [mailto:jianjun200...@163.com]
Sent: Tuesday, September 22, 2015 4:02 AM
To: java-user@lucene.apache.org
Subject: hello,I have a problem about lucene,please help me
There is a Class org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter
which have two parameters,one is DEFAULT_MIN_BLOCK_SIZE,the other is
DEFAULT_MAX_BLOCK_SIZE;their default values is 25 and 48;when I
make their values to bigger,for example,200 and 398;And then to make index,the
Thanks for the advice Ian. As you suggested I tried indexing alt_id as
Index.NOT_ANALYZED and stick
with TermQuery. It works now.
Thanks again,
José M. Villaveces
On 25 June 2012 17:27, Ian Lea ian@gmail.com wrote:
The key thing is to be consistent. You can either replace your
I'm quite new to Lucene and recently, I ran into a problem. I have a lucene
document that looks like this:
--- type ---
gene
--- id ---
xla:379474
--- alt_id ---
emb:BC054227
gb:BC054227
ncbi-geneid:379474
ncbi-gi:148230166
rs:NM_001086315
rs:NP_001079784
unigene:Xl.24622
xla:379474
I created
It's probably an issue with analysis and colons and hyphens and dots,
maybe lower/upper case as well.
Are you using an analyzer? Which? If not, which might be consistent
with your usage of TermQuery, how are you storing the multiple values
for alt_id?
See also the FAQ entry Why am I getting no
TermQuerys are assumed to be parsed already. So you're
looking for a _single_ term ncbi-geneid:379474 or XI.24622.
You'd construct something like
Query query1 = new TermQuery(new Term(type, gene));
Query query2 = new TermQuery(new Term(alt_Id, ncbi-geneid:379474));
Query query3 = new
Hi All,
Thanks for the quick reply.
It seems like indeed my index is not what I think it is so maybe
I'm using the wrong analyzer. Here is the code I use to index the multiple
values of alt_id:
indexWriter = new IndexWriter(FSDirectory.open(new
File(path)),newStandardAnalyzer(Version.
The key thing is to be consistent. You can either replace your
TermQuery code with the output from QueryParser.parse, with QP created
with StandardAnalyzer, or index alt_id as Index.NOT_ANALYZED and stick
with TermQuery. I think the latter will work even with multiple
terms/tokens stored for
Hi,
I am developing an advanced pdf search engine in java by using pdfbox and
lucene. And I must display the context of each keyword in the user interface,
but i cannot find a method to do so. Most of the methods provided are used to
deal with documents with whole content in the specified
Hello
I am new to Lucene and facing a problem while performing searches. I am
using lucene 2.2.0.
My application indexes documents on keyword field which contains integer
values. If the value is negative the query does not return correct results.
Following is my lucene query:
I am new to Lucene and facing a problem while performing
searches. I am using lucene 2.2.0.
My application indexes documents on keyword field which
contains integer values.
Which analyzer/tokenizer are you using on that field? I am assuming it is a
tokenized field.
If the value is
Hi Vibhuti,
Not in sync with your query, but I'd advice you to graduate you to a rather
recent lucene release. Something like 2.4.1 or atleast a 2.3.1 [Considering
its already time for 2.9].
--
Anshum Gupta
Naukri Labs!
http://ai-cafe.blogspot.com
The facts expressed here belong to everybody,
Also, get a copy of Luke and examine your index, that'll tell you what
isactually
in there *and* it will let you see how queries parse under
various analyzers.
Best
Erick
On Thu, Sep 10, 2009 at 6:47 AM, vibhuti vibhuti.gu...@thepsi.com wrote:
Hello
I am new to Lucene and facing a
I get the problem below in trying to build Lucene 2_4.
I'm using Eclipse and just run Ant on the top build.xml.
It is pretty weird because the core is indeed build, but for some reason the
build stops there and I don't get any of the demos build etc...
Any idea what this svnversion program is ?
[mailto:raymond.bal...@gmail.com]
Sent: Sunday, March 08, 2009 4:06 PM
To: java-user@lucene.apache.org
Subject: Problem building Lucene 2_4 with Ant/Eclipse
I get the problem below in trying to build Lucene 2_4.
I'm using Eclipse and just run Ant on the top build.xml.
It is pretty weird
.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Raymond Balmès [mailto:raymond.bal...@gmail.com]
Sent: Sunday, March 08, 2009 4:06 PM
To: java-user@lucene.apache.org
Subject: Problem building
: ok, thanks. Thought the top build.xml was going to build everything
: underneath.
it can, but the default target only builds the core.
try ant package or ant dist
-Hoss
-
To unsubscribe, e-mail:
Subject: Re: Problem with lucene search starting to return 0 hits when a
few seconds earlier it was returning hundreds
* And what's about visibility filter? * Are you sure no one else accesses
IndexReader and modifies index? See reader.maxDocs() to be confident.
On Fri, Sep 5, 2008 at 12
.
- Original Message
From: Leonid M. [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent: Thursday, September 4, 2008 5:35:47 PM
Subject: Re: Problem with lucene search starting to return 0 hits when a
few seconds earlier it was returning hundreds
* And what's about visibility filter
We have some code that uses lucene which has been working perfectly well for
several months.
Recently, a QA team in our organization has set up a server with a much larger
data set than we have ever tested with in the past: the resulting lucene index
is about 3G in size.
On this particular
* And what's about visibility filter? * Are you sure no one else accesses
IndexReader and modifies index? See reader.maxDocs() to be confident.
On Fri, Sep 5, 2008 at 12:19 AM, Justin Grunau [EMAIL PROTECTED] wrote:
We have some code that uses lucene which has been working perfectly well
for
]
To: java-user@lucene.apache.org
Sent: Thursday, September 4, 2008 5:35:47 PM
Subject: Re: Problem with lucene search starting to return 0 hits when a few
seconds earlier it was returning hundreds
* And what's about visibility filter? * Are you sure no one else accesses
IndexReader and modifies index
From: Leonid M. [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent: Thursday, September 4, 2008 5:35:47 PM
Subject: Re: Problem with lucene search starting to return 0 hits when a
few seconds earlier it was returning hundreds
* And what's about visibility filter? * Are you sure
greek
word but it continues to search for english words. Could it be a problem of
fonts in my ubuntu or what?Greek fonts are installed though.
Thanks for any answers in advance
--
View this message in context:
http://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15543843.html
Sent
://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15543843.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
:
http://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15544612.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
it to the
index??
--
View this message in context:
http://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15544612.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
;
The wordextractor takes an inputstream as an arguement. Should i determine
the encoding of the inputstream and how?
--
View this message in context:
http://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15545082.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
determine
the encoding of the inputstream and how?
--
View this message in context:
http://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15545082.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
would print out the extracted text into a plain text files and compare
if there are differences between the file generated on Windows and
Linux/Ubuntu. This allows to determine if this is a WordExtractor or a
Lucene problem.
Jan
. Those files are binary and therefore does
not have an encoding.
I would print out the extracted text into a plain text files and
compare if there are differences between the file generated on
Windows and Linux/Ubuntu. This allows to determine if this is a
WordExtractor or a Lucene problem
Why not fix your code to be 2.1 compliant instead? For instance,
StopFilter has a constructor that takes Set and a constructor
that takes an array of String for stopwords.
Otherwise, please tell us more about what you are doing with
MakeStopTable and why making your code 2.1 compliant isn't an
The code that is making use of that makeStopFilter is not written by me. It
has read-only permission. So, I can't make any changes to it.
On 7/31/07, Erick Erickson [EMAIL PROTECTED] wrote:
Why not fix your code to be 2.1 compliant instead? For instance,
StopFilter has a constructor that takes
Hi,
I am using nutch index to search in lucene. One of my classes use
makeStopTable method ( which is deprecated) of class StopFilter in
org.apache.lucene.analysis. When I run my program with lucene 2.1.0
~/j2sdk1.4.2/bin/java -classpath .:lucene-core-2.1.0.jar SearchFiles
Exception in
the
String that i want to search for on the field description is ignored.
If i use normal words then it is taken. Do you know why this could be?
Thanks.
--
View this message in context:
http://www.nabble.com/Problem-with-lucene.-tf3137405.html#a8694565
Sent from the Lucene - Java Users
the query is parsed, it returns me the empty String, which means
the
String that i want to search for on the field description is
ignored.
If i use normal words then it is taken. Do you know why this could be?
Thanks.
--
View this message in context:
http://www.nabble.com/Problem-with-lucene
.
If i use normal words then it is taken. Do you know why this could be?
Thanks.
--
View this message in context:
http://www.nabble.com/Problem-with-lucene.-tf3137405.html#a8694565
Sent from the Lucene - Java Users mailing list archive at Nabble.com
in context:
http://www.nabble.com/Problem-with-lucene.-tf3137405.html#a8694565
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
hello
i am trying to use lucene annd i am my fisrt problem.
i have install the demo example into the tomcat and when i try to load
osne search, into the results.jsp page appears this error. can you help
me?
thanks.
org.apache.jasper.JasperException: No se puede compilar la clase para JSP
Ha
Might be related to an already resolved issue - see related discussion:
http://www.nabble.com/lucene-web-demo-is-not-working--tf1736444.html#a4718639
Miren [EMAIL PROTECTED] wrote on 31/10/2006 03:57:50:
parse(java.lang.String) in org.apache.lucene.queryParser.QueryParser
cannot be applied to
On Mittwoch 03 Mai 2006 21:59, Rodrigo Marcuschi wrote:
I am having problems using lucene 1.9.1. I was using 1.4.3 successfully,
Mhh, IndexModifier isn't part of Lucene 1.4, did you add it manually?
documents I add, all I get is '1 docs in index'. If I DON'T close the
modifier,
It must be
-
Yahoo! FareChase - Search multiple travel sites in one click.
Hi,
I'm having trouble running the sample codes in Lucene in Action. I followed the
instructions in the README file and in the book but no luck. I'm not familiar
with ant. Can some one help please ??
Anushri
-
Yahoo! FareChase - Search
Please send us a (short and sweet) example that demonstrates this
issue - preferably using RAMDirectory in a way that is easily
runnable by someone else.
Thanks,
Erik
On Jun 22, 2005, at 3:36 PM, JM Tinghir wrote:
Hi,
Actually I have the same problem. Queries are working on a few
Hi,
I prepared a dictionary application which uses Lucene.
I made my application to be downloaded with webstart.
Everything is OK, but I can't access Lucene index files.
When I made a search on the internet about the subject,
I found some clues saying that it is impossible to put Lucene
indexes
I have corrected the incorrect hyperlink issues. Sorry 'bout that.
Erik
On Mar 3, 2005, at 2:22 PM, Antonio Chillarón Barahona wrote:
Hello,
I am sorry if this is not the proper forum for this question.
Recently, I have tried to download Snowball from Lucene's Sandbox but
the link on
47 matches
Mail list logo