Re: Loading less terms in memory

2009-11-06 Thread Michael McCandless
2.9 has fixed this bug (IndexReader.reopen failing to carry over the index divisor to newly opened segments). One workaround is to simply use reopen(), knowing that for the new segments it's loading all your terms, but realizing that the new segments are usually very small so the added memory usag

Re: Directory.list() deprecation

2009-11-06 Thread Michael McCandless
Well... you can use oal.index.IndexFileNameFilter.getFilter() to filter for only the Lucene index files, or, you could filter for the additional files you know you've placed in the index directory? The motivation for this change was that Directory is the wrong place to have "smarts" about what is

Link in the result page is not opening

2009-11-06 Thread DHIVYA M
Hi all,   Am using Java Lucene through web.   When i execute through Netbeans, its working well. My problem is:   It is displaying the list of links that points to documents containing the query string. But when i click the link the document[notepad document] is not opening. But if i right click

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

2009-11-06 Thread Jason Eacott
looks like it, thanks! but if I index multiple copies of the same value, ie: myfield:a,a,b and search with myfield:(a or b) or perhaps myfield:(a or a or b) will I be able to tell the difference? is this apparently duplicate data kept as part of the query? (I'd like to be able to do this too)

Re: UpdateDocument failed

2009-11-06 Thread Ganesh
Thanks Ian. There are some issues with my code. I am using almost 40 fields only two fields, requires update one will be updated by background thread and other by the User. I am using Lucene as my database. I am reopening reader at constant interval. The problem is when background thread and t

Re: Creating tag clouds with lucene

2009-11-06 Thread Jake Mannix
On Fri, Nov 6, 2009 at 12:25 AM, Mathias Bank wrote: > Well, it could be a facet search, if there would be tags available but > if you just wanna have a "tag cloud" generated by full-text, I don't > see how a facet search could help to generate this cloud. > Unfortunatelly, I don't have tags in my

Re: Creating tag clouds with lucene

2009-11-06 Thread Mathias Bank
Well, it could be a facet search, if there would be tags available but if you just wanna have a "tag cloud" generated by full-text, I don't see how a facet search could help to generate this cloud. Unfortunatelly, I don't have tags in my data. What I need is the information, what are the most used