RE: Hibernate search (Problem adding new Record)

2008-05-02 Thread John Griffin
P.S. The Hibernate Search forum is at http://forum.hibernate.org/viewforum.php?f=9 John G. -Original Message- From: oyesiji [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 5:24 PM To: java-user@lucene.apache.org Subject: Hibernate search (Problem adding new Record) I am using

RE: Hibernate search (Problem adding new Record)

2008-05-02 Thread John Griffin
Try this: FullTextSession fullTextSession = Search.createFullTextSession(session); for (JobDescription jobDescription : jobDescriptions) { fullTextSession.save(jobDescription); } ^ |

Re: Hibernate search (Problem adding new Record)

2008-05-02 Thread Otis Gospodnetic
Hi, Hibernate Search hasn't been talked about much on this list, so you may not get much help, if any. Have you tried asking on the Hibernate Search mailing list? (don't know it's address/site). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > Fr

Hibernate search (Problem adding new Record)

2008-05-02 Thread oyesiji
I am using Hibernate Search in my Application, the first time i attempt to index records from the database it works and the second time i attempt to add records i notice that it does not work FullTextSession fullTextSession = Search.createFullTextSession(session); for (JobDescription jobD

RE: lucene farsi problem

2008-05-02 Thread Steven A Rowe
Hi Esra, I have created an issue for this - see . I'll try to take a crack at a patch this weekend. Steve On 05/02/2008 at 12:55 PM, esra wrote: > > Hi Steven , > > yes you are right, sorry i am a bit confused. > > i checked again and the c

Re: hybrid query (lucene + db)

2008-05-02 Thread Stephane Nicoll
Hi, Thanks for the response. The very first reason we're using lucene is because we're building a product that must support different database (Oracle 10, Oracle 11 and Postgresql with spatial extensions). I had a look to this project already but we cannot stick to one database vendor. Cheers,

Re: hybrid query (lucene + db)

2008-05-02 Thread Marcelo Ochoa
Hi Stéphane: If you are using Oracle Spatial I assume that you are using Oracle too for storing text :) Have you take a look at Oracle-Lucene integration project sponsored by LendingClub.com? http://docs.google.com/Doc?id=ddgw7sjp_54fgj9kg http://sourceforge.net/project/showfiles.php?group_id=5

RE: lucene farsi problem

2008-05-02 Thread esra
Hi Steven , yes you are right, sorry i am a bit confused. i checked again and the correct one is "zhe"/U+698. It seems the word is in the range but my customer says it shouldn't be. I think problem occurs because "zhe" is a Persian letter outside the Arabic alphabet. In farsi alphabet this

RE: lucene farsi problem

2008-05-02 Thread Steven A Rowe
Hi Esra, You are *still* incorrectly referring to the glyph with three dots over it: On 05/02/2008 at 12:18 PM, esra wrote: > yes the correct one is "ژ "/"ze"/U+632. "ژ" is *not* "ze"/U+632 - it is "zhe"/U+698. Have you increased the font size? Can you see the difference between these two?:

Re: Lucene Indexing structure

2008-05-02 Thread Glen Newton
Vaijanath, I think I would do things in a different fashion: Lucene default distance metric is based on tf/idf and the cosine model, i.e. the frequencies of items. I believe the values that you are adding as Fields are the values in n-space for each of these image-based attributes. I don't believe

RE: lucene farsi problem

2008-05-02 Thread esra
Hi Steven , yes the correct one is "ژ "/"ze"/U+632. my problem is when i do search for " د-ژ" range. The result is ""ساب ووفر " and this word's first letter is "س " and it's unicode is "U+633" and it is not in the in the [ U+062F - U+0632 ] range. am i wrong? Esra Steven A Rowe wrote:

Re: Lucene Indexing structure

2008-05-02 Thread Chris Hostetter
: Hi Lucene-user and Lucene-dev, Please do not cross post -- java-user is the suitable place for your question. : Obviously there is something wrong with the above approach (as to get the : correct document we need to get all the documents and than do the required : distance calculation), but t

Re: hybrid query (lucene + db)

2008-05-02 Thread Stephane Nicoll
I had a look to this but didn't find anything that correspond to my problem. Apparently there is a bug in Hibernate Search. If I use the same load test on the same index with the same data with a direct access to the lucene API, I get much better performance (and no deadlock on SegmentReader). I

RE: lucene farsi problem

2008-05-02 Thread Steven A Rowe
Hi Esra, I still think you're wrong :). On 05/02/2008 at 9:31 AM, esra wrote: > > ژ = U+632 According to the website you linked to, the above character, which has three dots over it, is named "zhe", and its Unicode code point is U+698. (I had to increase the font size to see the three dots.)

RE: lucene farsi problem

2008-05-02 Thread esra
Hi Steven, sorry i made a mistake. unicodes are like this: > د=U+62F > ژ = U+632 > and the first letter of "ساب ووفر " is س = U+633 you can also check them here :http://www.unics.uni-hannover.de/nhtcapri/persian-alphabet.html Esra Steven A Rowe wrote: > > Hi Esra, > > Going back to the or

Re: Does Lucene Supports Billions of data

2008-05-02 Thread mark harwood
>> If your terms are roughly equally distributed in all N indices(e.g. random >> doc->index/shard assignment), the relevance score willroughly match. Agreed. I did some formal benchmarking of local IDF vs global IDF relevance ranking recently. I measured the movement of the top ranked document