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.
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 result is
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
, 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 Luce
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
>
>
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.
Just add the lucene jar files in the build path of the project.
On Sat, Sep 28, 2013 at 5:04 PM, sajad naderi wrote:
> hi
> i want run code sample of "lucene in action"book by eclipse
> please tell me how configure eclipse to run those code
>
hi
i want run code sample of "lucene in action"book 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 Nabbl
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
ier-Allee 63, D-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
ge" engines.
>> Has someone claimed 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 Zhan
ry 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
e-
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
thianks Adrien,
In my project, almost all hit docs are supposed to be fetched for every
query, what's why I am upset b
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 readi
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 s
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
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.
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 ha
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");
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
O
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 them
ssue
> again?
>
> On Wed, Aug 10, 2011 at 9:25 AM, V R wrote:
>
> >
> >
> > -- Forwarded message --
> > From: V R
> > Date: Wed, Aug 10, 2011 at 6:51 PM
> > Subject: please help me
> > To: java-user-i...@lucene.apache.org
> &g
jar file that belongs to apache lucene project.
If this is not what you asked for, can you pls elaborate more on the issue
again?
On Wed, Aug 10, 2011 at 9:25 AM, V R wrote:
>
>
> -- Forwarded message --
> From: V R
> Date: Wed, Aug 10, 2011 at 6:51 PM
> Subje
-- Forwarded message --
From: V R
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 Precision and Reca
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 t
java related NOT be
asked here. If you want a real development environment (rather than a text
editor) you might look into Eclipse http://www.eclipse.org/. But again--
no Eclipse questions here please!
Vahideh Reshadat wrote on 07/21/2011 01:19:30 PM:
> [image removed]
>
> pl
ve ability implement your examples and finally my program.
My OS is windows xp sp2.
Please help me, I really need your help, plese help me
ll without more information.
Best
Erick
On Wed, Jul 13, 2011 at 1:50 AM, jigar gandhi 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
: 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
: 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 Fri, May 20, 2011 at 2:46 PM, Doron Cohen 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 Solr for thi
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
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,
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 tha
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 ra
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 fir
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 (
pharses we are supposed to get results :
>
> amazon amazon s3
> amazon s3 amazon
> s3 amazon simpledb
> amazon simpledb amazon
> simpledb amazon aws
>
> Any help will be appreciated.
> --
> View this mes
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
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
wrote:
> Hi,
>
> could anybod
-
> From: 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
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, Helm
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)
t; > what
> >> > you find
> >> >
> >> > Best
> >> > Erick
> >> >
> >> > On Fri, Sep 26, 2008 at 3:55 PM, student_t <[EMAIL PROTECTED]> wrote:
> >> >
> >> >>
> >> >> I am baffled
ies. Can it be
>> something
>> >> to
>> >> do with the boosting factor? All of these queries are performed in the
>> >> same
>> >> environment with the same crawled index/data.
>> >>
>> >> A. query1 = +(content:(Pepsi))
t; B. query2 = +(content:(Pepsi) ) +(host:(ca)^10 ) resulted in 398
> >> hits.
> >> C. query3 = +(host:(ca)^10 )resulted in
> >> 212
> >> hits.
> >>
> >> Two questions (strictly just one):
> >> 1. qu
ntains Pepsi yielded 228 hits, how could a
>> more
>> limiting query2 (give me all docs 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?
>>
&
unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Please-help-to-interpret-Lucene-Boost-results-tp19695313p196976
docs 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:
> ht
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
--
http://ww
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
ery and passing it through 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
--- On Sun, 8/3/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
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 quer
o: java-user@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
> tha
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
-
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 QueryParser(textFieldNa
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 Format
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 Format
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 Format
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.
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 Saro
7 13:45
To: java-user@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 searche
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
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"
>
>
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 "" at line 1, column 3.
You tried to parse the string "OR" as a
hat are entered on their own and not pass them to the
QueryParser.
-Original 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", "
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 "" at line 1, column 3.
Was expecting one of:
"(" ...
...
...
...
...
"[" ...
"{" ...
.
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 ar
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
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:[EM
Hi,
> From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED]
>
> I am using attached source code for indexing on windows plateform.
> after compiling and making war file, build folder is created
I guess you use lucene demo for files not for html files.
In this case documents don't contain the
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,
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.
Pas
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
-
T
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,
> F
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)?
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
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 the
For instance look at http://www.zilverline.org/zilverlineweb/space/faq
Michael
Karl Øie wrote:
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
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:
http://www.crazysqui
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 en
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
I have also just seen this exception in a production system (lucene
1.4.3).
Any tips on what might be causing it? I'll be attempting to reproduce
it later, but I'm quite confident that while I'm using that
IndexWriter, no other readers are open, and no other Writers, either.
java.lang.Illeg
Hello, we have an issue with Lucene and haven't found a solution so far.
So, I'm asking for your help if that's possible.
The scenario is as follows:
We are using 2 lucene FS directories, a main one and a small temporary one
where all our documents are added. After adding 100 documents, that small
88 matches
Mail list logo