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

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

2014-03-20 Thread Uwe Schindler
Hi, I would recommend to first upgrade to Lucene 3.6. The changes to that version are much easier to do, because you can do the following migration steps: Remove any deprecated code from your classes (so carefully remove any deprecation warning when compiling your code with 2.9 - after that it

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 > >

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 >

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
Dear Saurabh In fact I'm a *beginner*, I never used java before! now I need to use lucene, and in this part I need to calculate Precision and Recall! I found the code and just copied and pasted it in eclipse enviroment! and when I run this, program dosent know some import classes and some other t

Re: please help me

2011-08-10 Thread Saurabh Gokhale
Not sure if I understood the issue right but if you are searching for jars which might have the imported classes (classes in the import statements) then just give fully qualified name of that class in findjar.com search and you will get which jar has that class file in it. Select the appropriate ja

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

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
I believe that this happens because "AND", "OR" and "NOT" are all reserved words for joining together other search terms and therefore if you don't want the exception thrown then you must capture any "AND", "OR" and "NOT"s that are entered on their own and not pass them to the QueryParser. -O

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