Re: Index files not deleted after optimization

2009-11-05 Thread Ganesh
Thanks Michael. Below order helped to solve the issue, 1. DB optimize 2. DB commit 3. Reopen new reader 4. Close old reader 5. Close writer 6. Open writer Regards Ganesh - Original Message - From: "Michael McCandless" To: Sent: Tuesday, November 03, 2009 9:05 PM Subject: Re: Index

Directory.list() deprecation

2009-11-05 Thread Daniel Noll
Hi all. I am trying to clean up some deprecated calls which are showing up on upgrading to 2.9.0 (from 2.3.2...), and I have just come across Directory.list(), which says this: > Deprecated For some Directory implementations (FSDirectory, and its > subclasses), this method silently filters its r

Re: Creating tag clouds with lucene

2009-11-05 Thread Chris Lu
Interesting idea! Kind of "cheating" because the word frequency in the whole index is simply mapped to the search results, which is arguable. But maybe in practice it could work just fine, since nobody really cares about the counts anyway. When users click the tag cloud, did anyone really have

Re: Creating tag clouds with lucene

2009-11-05 Thread Jake Mannix
Well you can do it as a facet search, but in addition to doing multi-valued faceting, you can also normalize the counts by dividing by the docFreq of the term, which instead of getting you the most popular tags which overlap your query, you get the tags which are more popular for documents matching

Re: Creating tag clouds with lucene

2009-11-05 Thread Chris Lu
Isn't the tag cloud just another facet search? Only difference is the tag is multi-valued. Basically just go through the search results and find all unique tag values. -- Chris Lu - Instant Scalable Full-Text Search On Any Database/Application site: http://www.dbsight.ne

Re: is it possible to make lucene searches match based on per doc field:termcount?

2009-11-05 Thread Grant Ingersoll
On Nov 5, 2009, at 4:31 PM, Jason Eacott wrote: Hi All, I hope someone can offer some advice. I want to extend lucene to search in a particular way(if it cant already): I want to index docs, each with file containing several terms something like: doc1=>myfield:a doc2=>myfield:a,b doc3=>m

is it possible to make lucene searches match based on per doc field:termcount?

2009-11-05 Thread Jason Eacott
Hi All, I hope someone can offer some advice. I want to extend lucene to search in a particular way(if it cant already): I want to index docs, each with file containing several terms something like: doc1=>myfield:a doc2=>myfield:a,b doc3=>myfield:a,b,c doc4=>myfield:a,b,c,d so far nothing new.

Open source search social evening in London - 18th Nov

2009-11-05 Thread Richard Marr
Hi all, (Apologies for the cross-post) It's been a while since the last time we met up, so we're organising another open source search social evening (OSSSE?). It's in the vicinity of London's Portobello Road on Wednesday the 18th of November. The plan is to get together and chat about search te