ic field this is what I did:
> doc.add(new IntPoint("niveauexp", 4)); doc.add(new StoredField("niveauexp",
> 4));
>
> Problem:
> when I tried to search "niveauexp" using 4 as search paramet
as search parameter, i recieve
results.
Please help.
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
Hi
I started migrating my lucene search application from 2.9 version to 4.7.0
. Please suggest me the best way and best practices for this. There are
many files to rewrite.
Thank you,
Narasimha.
Are you able to reindex the data from source? Typical practices around
search indexes is to treat them as secondary stores for full-text search
that mirrors a primary database or data store.
-Doug
On Thu, Mar 20, 2014 at 12:52 PM, NarasimhaRao DPNV
narasimha.jav...@gmail.com wrote:
Hi
I
, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: NarasimhaRao DPNV [mailto:narasimha.jav...@gmail.com]
Sent: Thursday, March 20, 2014 5:52 PM
To: java-user@lucene.apache.org
Subject: Please help me in migrating Apache Lucene 2.9 to 4.7.0
Hi
hi
i want run code sample of lucene in actionbook by eclipse
please tell me how configure eclipse to run those code
Just add the lucene jar files in the build path of the project.
On Sat, Sep 28, 2013 at 5:04 PM, sajad naderi sajad_nader...@yahoo.comwrote:
hi
i want run code sample of lucene in actionbook by eclipse
please tell me how configure eclipse to run those code
Can someone please provide clarification on this?
-
Thanks
-K'Rider
--
View this message in context:
http://lucene.472066.n3.nabble.com/SurroundQueryParser-Please-help-with-Syntax-tp4076302p4077248.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Chris Zhang [mailto:zhangjcm...@gmail.com]
Sent: Sunday, July 07, 2013 6:26 PM
To: java-user@lucene.apache.org
Subject: Re: Please Help solve problem of bad read performance in lucene
4.2.1
thianks
I am planning to use surround parser for the nested proximity search support
it provides.
Can someone please help me understand the syntax when there are more than
two terms in query?
Here is what I see in their doc.
99n(aa,bb,cc) – unordered span query with slop 98
Does the above surround
hi ,
Sorry to interrupt you, but I am really confused by the bad performance
of lucene 4.2.1. Recently I migrated project from lucene 3.0 to 4.2.1 .
After simply tests I found that both indexing and reading performance of
lucene 4 can not match the older version.
Indexing code snippets are as
Indeed, Lucene 4.1+ may be a bit slower for indices that comptelely
fit in your file-system cache. On the other hand, you should see
better performance with indices which are larger than the amount of
physical memory of your machine. Your reading benchmark only measures
IndexReader.get(int) which
thianks Adrien,
In my project, almost all hit docs are supposed to be fetched for every
query, what's why I am upset by the poor reading performance. Maybe I
should store field values which are expected to be stored in high
performance storage engine.
In the above test case, time consuming of
: Sunday, July 07, 2013 12:26 PM
To: java-user@lucene.apache.org
Subject: Re: Please Help solve problem of bad read performance in lucene
4.2.1
thianks Adrien,
In my project, almost all hit docs are supposed to be fetched for every
query, what's why I am upset by the poor reading performance
vs. 3.x? That's the true, proper
measure of Lucene and Solr performance.
-- Jack Krupansky
-Original Message- From: Chris Zhang
Sent: Sunday, July 07, 2013 12:26 PM
To: java-user@lucene.apache.org
Subject: Re: Please Help solve problem of bad read performance in lucene
4.2.1
otherwise to you?
What is your query performance in in 4.x vs. 3.x? That's the true, proper
measure of Lucene and Solr performance.
-- Jack Krupansky
-Original Message- From: Chris Zhang
Sent: Sunday, July 07, 2013 12:26 PM
To: java-user@lucene.apache.org
Subject: Re: Please Help
Java is telling you the issue there. You're trying to cast a
StandardDirectoryReader to an AtomicReader. I think AtomicReaders are per
segment readers and in this case you actually want to get a view of all the
terms in the index (i.e. over all segments), so I think you could wrap the
reader you
thank you very much :)
Date: Mon, 27 May 2013 16:19:18 -0400
Subject: Re: please help
From: brendan.grain...@gmail.com
To: java-user@lucene.apache.org
Java is telling you the issue there. You're trying to cast a
StandardDirectoryReader to an AtomicReader. I think AtomicReaders are per
there is my code for getting in position for all term index and I'm stuck on
this problem anyone has an idea about this error??ar =
(AtomicReader)readre;System.out.print(ar); boolean withOffsets = false;
Fields fields = MultiFields.getFields(readre); Term t= new Term(contents);
the problem you're having is that you haven't learn about java yet.
you need to know about imports statement, about jars file that contain
java classes. you need to learn about this first then you can run
java. the LIA (lucene in action) package that you're downloaded can
all be run if you put
Hi,
It is possible to use SOLR which only requires schema configurations for use
(based on Lucene). You'll still need some java to look at the source code and
understand things better.
But it's potentially a Java free route to make it work for you as a search
solution.
Hope that helps,
Mou
-- Forwarded message --
From: V R v.shinings...@gmail.com
Date: Wed, Aug 10, 2011 at 6:51 PM
Subject: please help me
To: java-user-i...@lucene.apache.org
Dear all
I'm a beginner and I need to calculate Precision and recall. I do it by
Lucene and java.
I found code for caculating
, 2011 at 6:51 PM
Subject: please help me
To: java-user-i...@lucene.apache.org
Dear all
I'm a beginner and I need to calculate Precision and recall. I do it by
Lucene and java.
I found code for caculating Precision and Recall in lucene, but
unfortunatly when I run this, program dosent know some
?
On Wed, Aug 10, 2011 at 9:25 AM, V R v.shinings...@gmail.com wrote:
-- Forwarded message --
From: V R v.shinings...@gmail.com
Date: Wed, Aug 10, 2011 at 6:51 PM
Subject: please help me
To: java-user-i...@lucene.apache.org
Dear all
I'm a beginner and I need
implement your examples and finally my program.
My OS is windows xp sp2.
Please help me, I really need your help, plese help me
]
please help
Vahideh Reshadat
to:
java-user
07/21/2011 02:07 PM
Please respond to java-user
Hello
I am a BEGINNER for using java, and I havent use it at all! now I
need to implement a program which can retrieve TREC docs and..
I studied Lucene in action and understand
Before you get into Java, you should know that it's posible to find a lucene
implementation for your language. Lucene is available in python, c# .net,
etc... Search for that first.
If you chose Java, you'll need to make baby steps. Install yourself an IDE
(eclipse, netbeans...) to get rid of all
.
Best
Erick
On Wed, Jul 13, 2011 at 1:50 AM, jigar gandhi jigargand...@gmail.com wrote:
hi.. i am jigar.
while running lucene test file i m getting this errror please help me in its
solution.
Note: LuceneTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation
Bingo. That appears to be the essence of the problem, which makes sense
given TF/IDF.
I stumbled upon the 'Explain' function yesterday though it returns a crowded
message using debug in SOLR admin. Is there another method or interface
which returns more or cleaner info?
I feel uncomfortable with
Hi Rich,
SeetSpotSimilarity looks promising. Does it not favor shorter docs by not
normalizing or does it make some attempt to standardized.
- using e.g. SeetSpotSimilarity which do not favor shorter documents.
SweetSpotSimilarity (I misspelled it previously) defines a range of lengths
On Fri, May 20, 2011 at 2:46 PM, Doron Cohen cdor...@gmail.com wrote:
I stumbled upon the 'Explain' function yesterday though it returns a crowded
message using debug in SOLR admin. Is there another method or interface
which returns more or cleaner info?
I am not familiar with the use of
: I stumbled upon the 'Explain' function yesterday though it returns a crowded
: message using debug in SOLR admin. Is there another method or interface
: which returns more or cleaner info?
On trunk, you can add the debug.explain.structured=true param which will
cause the explanation messages
: On trunk, you can add the debug.explain.structured=true param which will
: cause the explanation messages to be returned as structured data.
backported to 3x for inclusion in 3.2...
https://issues.apache.org/jira/browse/SOLR-1915
-Hoss
Thanks Paul,
I do not know what duplicates are in this case and it is the denominator of
the TF that bothers me more than the numerator of the TF (if that is in fact
what you are suggesting).
What have been the effects of ignoring the IDF? When is it appropriate. It
would seem that by doing so
Hi Rich,
If I understand correctly you are concerned that short documents are
preferred too much over long ones, is this really the case?
It would help to understand what goes on to look at the Explanation of the
score for say two result documents - one that you think is ranked too low,
and one
Hello all,
This is my first time on the list and my first question...forgive me it this
has been hacked out in the past.
We have set up Lucene/Solr and are getting somewhat spurious results. It
appears to be a result of heterogeneous document sizes. In other words, the
top results are sometimes
Richard,
in SOLR at least there's an analyzer that avoids duplicates.
I think that would solve it.
There's also somewhere the option to ignore IDF (in similarity? in solrconfig?).
paul
Le 18 mai 2011 à 21:30, Rich Heimann a écrit :
Hello all,
This is my first time on the list and my first
results :
amazon amazon s3
amazon s3 amazon
s3 amazon simpledb
amazon simpledb amazon
simpledb amazon aws
Any help will be appreciated.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Please-Help
s3 amazon simpledb
amazon simpledb amazon
simpledb amazon aws
Any help will be appreciated.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Please-Help-tp2293832p2293832.html
Sent from the Lucene - Java Users mailing list archive
Hi,
could anybody please point me to some documention with (more detailed)
information about the API change.
E.g. (in PyLucene)
Q=lucene.TermQuery(lucene.Term('@URI',BookNr))
FSDir= lucene.SimpleFSDirectory(lucene.File('/home/jarausch/Bib_Dev/DIR/'))
index_reader= lucene.IndexReader.open(FSDir)
There is indeed no search(Query) method in 3.0.
Your best bet is to compile your application against 2.9 and fix any
deprecation warnings - see the javadocs for alternatives. If it
compiles cleanly against 2.9 it should also compile against 3.0.
--
Ian.
On Fri, Nov 27, 2009 at 11:42 AM,
: Helmut Jarausch [mailto:jarau...@igpm.rwth-aachen.de]
Sent: Friday, November 27, 2009 12:42 PM
To: java-user@lucene.apache.org
Subject: transition 2.4 - 3.0 (please help me to help myself)
Hi,
could anybody please point me to some documention with (more detailed)
information about the API
Additionally there is a whitepaper on
http://www.lucidimagination.com/How-We-Can-Help/whitepaper
What is new in Lucene 2.9
which gives you an overview over the new features - this is not on a
API level though.
simon
On Fri, Nov 27, 2009 at 12:42 PM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de
of Canadian domains, how can query2 return
398
hits?
Thanks for any pointers!
Cheers,
student_t
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p19695313.html
Sent from the Lucene - Java Users mailing list archive
more hits (398)?
2. Since there are 212 hits of Canadian domains, how can query2
return
398
hits?
Thanks for any pointers!
Cheers,
student_t
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p19695313
in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p19695313.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
that have Pepsi in it with a domain of ca)
yield more hits (398)?
2. Since there are 212 hits of Canadian domains, how can query2 return 398
hits?
Thanks for any pointers!
Cheers,
student_t
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results
On Freitag, 26. September 2008, student_t wrote:
A. query1 = +(content:(Pepsi))
I guess this is the string input you use for your queries, isn't it? It's
more helpful to look at the toString() output of the parsed query to see
how Lucene interpreted your input.
Regards
Daniel
--
there are 212 hits of Canadian domains, how can query2 return 398
hits?
Thanks for any pointers!
Cheers,
student_t
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p19695313.html
Sent from the Lucene - Java Users mailing list
PROTECTED]
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p19697619.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe
pointers!
Cheers,
student_t
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p19695313.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
the
parser.. but it always failed.
Or... is there other any techniques that I can implement...???
--- On Sat, 8/2/08, Otis Gospodnetic [EMAIL PROTECTED] wrote:
From: Otis Gospodnetic [EMAIL PROTECTED]
Subject: Re: query API for program-generated query (please help..)
To: java-user@lucene.apache.org
/08, Erick Erickson [EMAIL PROTECTED] wrote:
From: Erick Erickson [EMAIL PROTECTED]
Subject: Re: query API for program-generated query (please help..)
To: java-user@lucene.apache.org, [EMAIL PROTECTED]
Date: Sunday, August 3, 2008, 12:35 AM
Have you looked at BooleanQuery?
Best
Erick
Have you looked at BooleanQuery?
Best
Erick
On Fri, Aug 1, 2008 at 1:04 PM, Siti Rochimah [EMAIL PROTECTED] wrote:
Hi,
I'm a new user for Lucene.
I would like to make search-engine program with program-generated query
rather than user-input query. If anyone knows how to make a query API
Hi,
I'm a new user for Lucene.
I would like to make search-engine program with program-generated query rather
than user-input query. If anyone knows how to make a query API for this
purpose, please share the code...
Thanks.
siti_r
@lucene.apache.org
Sent: Friday, August 1, 2008 1:04:27 PM
Subject: query API for program-generated query (please help..)
Hi,
I'm a new user for Lucene.
I would like to make search-engine program with program-generated query
rather
than user-input query. If anyone knows how to make a query API
Here you go:
Analyzer a=new StandardAnalyzer();
//open an index
String textFieldName=contents;
IndexReader reader=IndexReader.open(E:/indexes/uksites);
IndexSearcher searcher=new IndexSearcher(reader);
QueryParser qp=new
Dear all,
I need a working example of Gradient Formatter. I want to highlight a
searched word after it is found in the database. I am using NHibernate
Search Lucene. But I am an entrly level programmer, so I do not know how
to use Gradient Formatter. There are plenty of examples of HTML
Dear all,
I need a working example of Gradient Formatter. I want to highlight a
searched word after it is found in the database. I am using NHibernate
Search Lucene. But I am an entrly level programmer, so I do not know how
to use Gradient Formatter. There are plenty of examples of HTML
Dear all,
I need a working example of Gradient Formatter. I want to highlight a
searched word after it is found in the database. I am using NHibernate
Search Lucene. But I am an entrly level programmer, so I do not know how
to use Gradient Formatter. There are plenty of examples of HTML
Hi All,
When i searched for AND, OR, NOT as query, it gives me the following
Exception
Exception in thread main org.apache.lucene.queryParser.ParseException:
Encountered EOF at line 1, column 3.
Was expecting one of:
( ...
QUOTED ...
TERM ...
PREFIXTERM ...
WILDTERM ...
[ ...
Message-
From: Saroja Kanta Maharana [mailto:[EMAIL PROTECTED]
Sent: 13 February 2007 11:42
To: java-user@lucene.apache.org
Subject: Please Help me
Hi All,
When i searched for AND, OR, NOT as query, it gives me the
following Exception
Exception in thread main
13 feb 2007 kl. 12.41 skrev Saroja Kanta Maharana:
When i searched for AND, OR, NOT as query, it gives me the
following
Exception
Exception in thread main
org.apache.lucene.queryParser.ParseException:
Encountered EOF at line 1, column 3.
You tried to parse the string OR as a query.
Hi All,
Any one help to implements synonyms search in lucene.
*Regards*
*Saroj*
On 2/13/07, karl wettin [EMAIL PROTECTED] wrote:
13 feb 2007 kl. 12.41 skrev Saroja Kanta Maharana:
When i searched for AND, OR, NOT as query, it gives me the
following
Exception
Exception in
I have a similar request. Does anyone know if Lucene is capable of
implementing polyheirarchical taxonomies?
-Original Message-
From: Saroja Kanta Maharana [mailto:[EMAIL PROTECTED]
Sent: 13 February 2007 13:45
To: java-user@lucene.apache.org
Subject: Re: Please Help me
Hi All
@lucene.apache.org
Subject: Re: Please Help me
Hi All,
Any one help to implements synonyms search in lucene.
*Regards*
*Saroj*
On 2/13/07, karl wettin [EMAIL PROTECTED] wrote:
13 feb 2007 kl. 12.41 skrev Saroja Kanta Maharana:
When i searched for AND, OR, NOT as query, it gives
Saroja Kanta Maharana wrote:
Hi All,
Any one help to implements synonyms search in lucene.
you might want to take a look at the ontology module within nutch.
HTH
Michael
*Regards*
*Saroj*
On 2/13/07, karl wettin [EMAIL PROTECTED] wrote:
13 feb 2007 kl. 12.41 skrev
The test code in the Highlighter contrib also has some synonym code.
On 2/13/07, Michael Wechner [EMAIL PROTECTED] wrote:
Saroja Kanta Maharana wrote:
Hi All,
Any one help to implements synonyms search in lucene.
you might want to take a look at the ontology module within nutch.
HTH
I am also only novice, but that should work for you.
One row in your table == one doc in lucene:
I would indice it like that for one row/document:
Document doc = new Document();
doc.add(new Field(prod_Id
doc.add(new Field(prod_name...
...
writer.addDocument(doc);
Now check your index
Please, do not ever, under any circumstances at all, cross post a
message to all of these lists -- there is absolutely no reason for it, and
doing so will most likely only make people mad and uncooporative.
if you are trying to use Java Lucene, then post your message to java-user
list. if you
this error, please help.
Regards..
Amaresh Yadav
--
DISCLAIMER
This email and any files transmitted with it are confidential and are solely
for the use of the individual or entity to which it is addressed. Any use,
distribution
Hi,
From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED]
when i search for a particular text by lucene search
engine. I get correct number of document for that word but
its document name and summary is return as null.
Are your document's name and summary Stored (Store.YES)?
do we need some setting in any jsp or other file for document ???
Regards..
Amaresh
-Original Message-
From: Pasha Bizhan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 2:39 PM
To: java-user@lucene.apache.org
Subject: RE: return document name as null Please help
Hi,
From
Hi,
From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED]
do we need some setting in any jsp or other file for document ???
You need to specify Stored (Store.YES) attribute for a field during
indexing.
Pasha Bizhan
-
To
as null Please help
Hi,
From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED]
do we need some setting in any jsp or other file for document ???
You need to specify Stored (Store.YES) attribute for a field during
indexing.
Pasha Bizhan
Hi,
From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED]
do i need specify Store.YES on comond prompt ???
How, please make it more clear ?
Your source code for indexing contains something like this:
-
doc.add(new Field(filedName,
Thanks Pasha,
I got success.
Regards..
Amaresh
-Original Message-
From: Pasha Bizhan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 6:47 PM
To: java-user@lucene.apache.org
Subject: RE: return document name as null Please help
Hi,
From: Amaresh Kumar Yadav [mailto:[EMAIL
In Re: to a post from 24-Mar-2005 by Matt Quail, in reference ... I'm
seeing this same exception (Windows, Lucene 1.4.3, Sun JDK 1.5.0_03) that
occurs repeatedly for me, but only during the course of running all my
application's unit tests in Ant. When I run the individual unit test I
can't get
Hello,
I am a beginner in using Lucene.
My files are contains different language (English, Chinese,
Portuguese, Japanese and some Asian languages, non-latin languages).
They always contain in one file.
Therefore, I have to use UTF-8 to save the contents.
I am now developing a web-based search
Hello,
I am a beginner in using Lucene.
My files are contains different language (English, Chinese,
Portuguese, Japanese and some Asian languages, non-latin languages).
They always contain in one file.
Therefore, I have to use UTF-8 to save the contents.
I am now developing a web-based search
If you use a servlet and a HTML Form to feed queries to the QueryParser
take good care of all configurations around the servlet container. If
you, like me, use tomcat you might have to recode the query into
internal java form (utf-8) before you pass it to lucene.
read this:
84 matches
Mail list logo