You are probably not creating a query correctly. Are you creating a
query with IntPoint#newExactQuery?
On Wed, Jan 23, 2019 at 3:52 PM Ayuketah David Tabi
wrote:
>
>
>
> Greetings.
> I am using Lucene 7.6.
> To do indexing i am using StandardAnalyzer()
> and to index a numeric field this is what
Greetings.
I am using Lucene 7.6.
To do indexing i am using StandardAnalyzer()
and to index a numeric 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 parameter, i recieve
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
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
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 (
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)
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
39 matches
Mail list logo