RE: index reader for multiple indexes

2009-10-02 Thread m.harig
Thanks Uwe Schindler , If i use an IndexReader[] to use MultiReader , will it be thread safe? because i've to reopen my IndexReader to check whether my index is updated or not . In this case how do i handle it? please suggest me Uwe Schindler wrote: > > Use MultiReader which is an Inde

[ANN] VTD-XML 2.7

2009-10-02 Thread jimmy Zhang
VTD-XML 2.7 is released and can be downloaded at http://sourceforge.net/projects/vtd-xml/files/ Below is a summary of what are the new features and enhancements. Expanded VTD-XML's Core API * VTDNav: toStringUpperCase, toStringLowerCase, contains(), endsWith(), startsWith() * Extended VTD added

RE: Lucene 2.9 Spatial Search Problem

2009-10-02 Thread Uwe Schindler
Hallo Rajiv2, The LocalLucene from Sourceforge is not index-compatible to the recently added spatial contrib in Lucene. You have to reindex your spatial values (because the index format now makes use of the new Lucene 2.9 NumericField, which is now the standard for numeric fields). Uwe - Uwe

Re: lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread Felipe Lobo
Your are wright! The docs didn't came because the score was 0. I had to review my boosting rules to fix it. On Fri, Oct 2, 2009 at 4:15 PM, Anshum wrote: > Hi Priya, > You are using different analyzers for searching and indexing in case of > CH/KR locales. Could you give the snippet of the doc

Re: lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread Anshum
Hi Priya, You are using different analyzers for searching and indexing in case of CH/KR locales. Could you give the snippet of the doc you are trying to index and search for. Also, get a print of keyQuery to get an idea of what exactly is getting searched post (query)analysis. That might give a bet

Re: Lucene 2.9 Spatial Search Problem

2009-10-02 Thread Michael McCandless
The required format for contrib/spatial has changed to NumericField, as of 2.9. Are you building your index with NumericField? Mike On Fri, Oct 2, 2009 at 2:04 PM, Rajiv2 wrote: > > Hello, I was using Lucene 2.4 and locallucene in my app and upgraded to > lucene 2.9 and I'm using the new spatia

Lucene 2.9 Spatial Search Problem

2009-10-02 Thread Rajiv2
Hello, I was using Lucene 2.4 and locallucene in my app and upgraded to lucene 2.9 and I'm using the new spatial contrib package. I've switched everything from using the locallucene specific classes to using the lucene spation classes for indexing and searching. Everything compiles but I'm the fo

Re: lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread Felipe Lobo
I had similar problem, it was the score of the documents, they were 0, so they didn't came when i searched! Check your score docs! On Fri, Oct 2, 2009 at 2:12 PM, N Hira wrote: > Which analyzer do you use in luke? > > The general practice is to use the same analyzer for indexing and > searching.

RE: index reader for multiple indexes

2009-10-02 Thread Uwe Schindler
Use MultiReader which is an IndexReader on top of various Sub-IndexReaders. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: m.harig [mailto:m.ha...@gmail.com] > Sent: Friday, October 02, 2009 6:52 PM > To

Re: lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread N Hira
Which analyzer do you use in luke? The general practice is to use the same analyzer for indexing and searching. Good luck. -h - Original Message From: Rathinapriya Nagalingam To: java-user@lucene.apache.org Sent: Friday, October 2, 2009 10:51:42 AM Subject: lucene 2.4.1 : document i

index reader for multiple indexes

2009-10-02 Thread m.harig
hello all , am merging more than one indexes to search a document , how do i use IndexReader here to open multiple indexes? (since IndexReader will open one directory at a time) could any1 please suggest me? -- View this message in context: http://www.nabble.com/index-reader-for-multip

lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread Rathinapriya Nagalingam
Hi, I created an index of around 45000 documents. I search using Title and Abstract field. (Using lucene 2.4.1) When I look in lukeall, some titles are available in index, but I dont get them when I search using title as keyword. I have copied code snapshots below. Recently we upgraded from luc

FileNotFoundException on index

2009-10-02 Thread Max Lynch
I'm getting this error when I try to run my searcher and my indexer: Traceback (most recent call last): self.searcher = lucene.IndexSearcher(self.directory) JavaError: java.io.FileNotFoundException: /home/spider/misc/index/_275c.cfs (No such file or directory) I don't know anything about the form

Re: TimeLimitedCollector hang on, VM process doesn't die (TOMCAT)

2009-10-02 Thread Mark Miller
Mani EZZAT wrote: > Mark Miller wrote: >> That thread will only be stopped if its interrupted. So it would appear >> there is a not a path that leads to it being interrupted ... why that is >> would be the next question ... >> >> > I found someone (a japanese) who had the same problem > > http:/

Re: TimeLimitedCollector hang on, VM process doesn't die (TOMCAT)

2009-10-02 Thread Mani EZZAT
Mark Miller wrote: That thread will only be stopped if its interrupted. So it would appear there is a not a path that leads to it being interrupted ... why that is would be the next question ... I found someone (a japanese) who had the same problem http://d.hatena.ne.jp/knaka20blue/20090608

Re: TimeLimitedCollector hang on, VM process doesn't die (TOMCAT)

2009-10-02 Thread Mark Miller
That thread will only be stopped if its interrupted. So it would appear there is a not a path that leads to it being interrupted ... why that is would be the next question ... -- - Mark http://www.lucidimagination.com Mani EZZAT wrote: > Hello everyone. > I'm using solrJ for an application de

Re: Error using multireader searcher in Lucene 2.9

2009-10-02 Thread Mark Miller
Sorry Raf - technically your not allowed to use internal Lucene id's that way. It happened to work in the past if you didn't use MultiSearcher, but its not promised by the API, and no longer works as you'd expect in 2.9. You have to figure out another approach that doesn't use the internal ids (eg

Re: Error using multireader searcher in Lucene 2.9

2009-10-02 Thread Yonik Seeley
On Fri, Oct 2, 2009 at 7:09 AM, Raf wrote: > Hello, > I have tried to switch my application from Lucene 2.4.1 to Lucene 2.9, but I > have found a problem. > My searcher uses a MultiReader and, when I try to do a search using a custom > filter based on a bitset, it does not behave as it did in Luce

Error using multireader searcher in Lucene 2.9

2009-10-02 Thread Raf
Hello, I have tried to switch my application from Lucene 2.4.1 to Lucene 2.9, but I have found a problem. My searcher uses a MultiReader and, when I try to do a search using a custom filter based on a bitset, it does not behave as it did in Lucene 2.4. It looks like the new searcher does not use th

TimeLimitedCollector hang on, VM process doesn't die (TOMCAT)

2009-10-02 Thread Mani EZZAT
Hello everyone. I'm using solrJ for an application deployed in Tomcat (6.x). It's base on lucene 2.9 when I use the catalina stop command, the VM doesn't die. The problem seems to be the TimeLimitedCollector thread. Here a jstack trace of the JVM (I get the same thing with jconsole too) : Att

Re: Help needed bubbling up relevant records with most recent date

2009-10-02 Thread Karl Wettin
Use a span near query to add boost for the phrases. If you only want to add boost for exact phrases (0 slop) you might want to consider using shingles. In order to add greater score for a date closer in time you can choose between a range of solutions depending on your needs. Using a functi