Re: Retain the index

2008-02-20 Thread anjana m
I got this error after dleteing that file Exception in thread "main" java.io.FileNotFoundException: C:\pIndexed\segments (The system cannot find the file specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.(RandomAccessFile.java:212) at or

Re: how to safely periodically reopen the IndexReader?

2008-02-20 Thread zaexage
Yes, I'm using a solution quite similar to this one. :) But when I read the Lucene 2.3 IndexReader.java code and javadoc, I see they have added a synchronous reference-counter to IndexReader and when it drops to zero, this instance will automatically call doClose() to clean, but the manipulator me

Re: Which file in the lucene package is used to manipulate results..

2008-02-20 Thread markharw00d
Where can i find the information regarding embedding lucene with database. Thanks http://marceloochoa.blogspot.com/2007/09/running-lucene-inside-your-oracle-jvm.html http://issues.apache.org/jira/browse/LUCENE-434 Cheers Mark

Re: Which file in the lucene package is used to manipulate results..

2008-02-20 Thread Michael Stoppelman
To add to what Mark is saying, it's very important that watch out for the first N results effect. If you showed a user a random set of documents with crap relevance I'll bet you that a good number will click on the first result (call it user laziness or the Google "I'm feeling lucky" effect :)). Yo

Re: Which file in the lucene package is used to manipulate results..

2008-02-20 Thread sumittyagi
hi Mark Actually i am using object oriented database. Where can i find the information regarding embedding lucene with database. Thanks mark harwood wrote: > > Hi Sumit, >>>now i want my database to communicate with lucene api > > I would recommend that it's the other way roundsee my earl

RE: How to change the scores of the documents

2008-02-20 Thread Steven A Rowe
Hi, On 02/20/2008 at 12:29 PM, sumittyagi wrote: > hi i want to rerank the documents obatined from the HITS, how can i edit > the scoring formula. Here's a good place to start: Steve -

Re: Which file in the lucene package is used to manipulate results..

2008-02-20 Thread mark harwood
Hi Sumit, >>now i want my database to communicate with lucene api I would recommend that it's the other way roundsee my earlier comment on using FilterIndexReader and creating "faked" TermEnum and TermDocs to make your database content appear as if it were part of the index when calling Luc

How to change the scores of the documents

2008-02-20 Thread sumittyagi
hi i want to rerank the documents obatined from the HITS, how can i edit the scoring formula. -- View this message in context: http://www.nabble.com/How-to-change-the-scores-of-the-documents-tp15594115p15594115.html Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Re: Boost Single Values in Field

2008-02-20 Thread Grant Ingersoll
You have two options: 1. Boost the term on the query side. The query parser pretty much takes exactly the syntax you use. 2. Use Payloads along with the BoostingTermQuery. Search the archives for info on one or both. -Grant On Feb 20, 2008, at 11:30 AM, JensBurkhardt wrote: Hey, I'm wo

Re: Which file in the lucene package is used to manipulate results..

2008-02-20 Thread sumittyagi
Hi Mark Harwood I know it's being a long time, but till now i was busy in developing the database to store the keyword, document and no. of clicks of the document for the keyword and their respective mappings. now i want my database to communicate with lucene api and i cannot figure it out where t

Boost Single Values in Field

2008-02-20 Thread JensBurkhardt
Hey, I'm wondering if you can boost single values and not the whole field. For example: i'm having a field called test with "value1 value2 value3" - all packed in a String - and i want to boost specific values e.g value1^0.5 value2^1.5 etc. The problem is that i can't seperate this field. I don't

Re: [Resent] Document boosting based on .. semantics?

2008-02-20 Thread Grant Ingersoll
On Feb 20, 2008, at 2:51 AM, Markus Fischer wrote: Hi, [Resent: guess I sent the first before I completed my subscription, just in case it comes up twice ...] the subject may be a bit weird but I couldn't find a better way to describe a problem I'm trying to solve. If I'm not mistaken,

Re: [Resent] Document boosting based on .. semantics?

2008-02-20 Thread Mathieu Lecarme
Markus Fischer a écrit : Hi, [Resent: guess I sent the first before I completed my subscription, just in case it comes up twice ...] the subject may be a bit weird but I couldn't find a better way to describe a problem I'm trying to solve. If I'm not mistaken, one factor of scoring is the

Re: Rails and lucene

2008-02-20 Thread Erik Hatcher
And if you're using Solr with Ruby, the solr-ruby gem is the way to go (gem install solr-ruby). And if you're interested in trying out a glorious Rails/Solr hack, try out Solr Flare, which presents a rudimentary search/faceted/ suggest interface: Erik On Feb 20, 2008, at 5:10 AM,