Re: Please help me

2019-01-24 Thread Adrien Grand
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

Please help me

2019-01-23 Thread Ayuketah David Tabi
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 

RE: hello,I have a problem about lucene,please help me to explain ,thank you

2015-09-22 Thread will martin
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

hello,I have a problem about lucene,please help me to explain ,thank you

2015-09-22 Thread 王建军
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

hello,I have a problem about lucene,please help me to explain ,thank you

2015-09-14 Thread 王建军
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

RE: Please help me in migrating Apache Lucene 2.9 to 4.7.0

2014-03-20 Thread Uwe Schindler
, 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

Re: Please help me in migrating Apache Lucene 2.9 to 4.7.0

2014-03-20 Thread Doug Turnbull
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 > >

Please help me in migrating Apache Lucene 2.9 to 4.7.0

2014-03-20 Thread NarasimhaRao DPNV
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.

Re: please help me

2013-09-30 Thread parnab kumar
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 >

please help me

2013-09-30 Thread sajad naderi
hi i want run code sample of "lucene in action"book by eclipse please tell me how configure eclipse to run those code

Re: please help me

2011-08-12 Thread Mourad K
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

Re: please help me

2011-08-12 Thread Yakob
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

Re: please help me

2011-08-10 Thread Vahideh Tabrizi
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

Re: please help me

2011-08-10 Thread Saurabh Gokhale
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

Fwd: please help me

2011-08-10 Thread V R
-- 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

Re: jigar query please help me

2011-07-15 Thread Erick Erickson
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

Re: Please help me with a basic question...

2011-05-20 Thread Chris Hostetter
: 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

Re: Please help me with a basic question...

2011-05-20 Thread Chris Hostetter
: 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

Re: Please help me with a basic question...

2011-05-20 Thread Yonik Seeley
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

Re: Please help me with a basic question...

2011-05-20 Thread Doron Cohen
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

Re: Please help me with a basic question...

2011-05-20 Thread Rich Heimann
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

Re: Please help me with a basic question...

2011-05-19 Thread Doron Cohen
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

Re: Please help me with a basic question...

2011-05-19 Thread Rich Heimann
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

Re: Please help me with a basic question...

2011-05-18 Thread Paul Libbrecht
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

Please help me with a basic question...

2011-05-18 Thread Rich Heimann
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 (

Re: transition 2.4 -> 3.0 (please help me to help myself)

2009-11-27 Thread Simon Willnauer
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

RE: transition 2.4 -> 3.0 (please help me to help myself)

2009-11-27 Thread Uwe Schindler
- > 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

Re: transition 2.4 -> 3.0 (please help me to help myself)

2009-11-27 Thread Ian Lea
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

transition 2.4 -> 3.0 (please help me to help myself)

2009-11-27 Thread Helmut Jarausch
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)

Re: Please Help me

2007-02-13 Thread Mark Miller
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.

Re: Please Help me

2007-02-13 Thread Michael Wechner
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

Re: Please Help me

2007-02-13 Thread Erik Hatcher
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

RE: Please Help me

2007-02-13 Thread Kainth, Sachin
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

Re: Please Help me

2007-02-13 Thread Saroja Kanta Maharana
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" > >

Re: Please Help me

2007-02-13 Thread karl wettin
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

RE: Please Help me

2007-02-13 Thread Kainth, Sachin
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", "

Please Help me

2007-02-13 Thread Saroja Kanta Maharana
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: "(" ... ... ... ... ... "[" ... "{" ... .

Re: Please Help me on Lucene

2007-02-01 Thread Chris Hostetter
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

Re: Please Help me on Lucene

2007-02-01 Thread Christoph Pächter
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