[jira] Commented: (LUCENE-1316) Avoidable synchronization bottleneck in MatchAlldocsQuery$MatchAllScorer

2009-01-15 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664404#action_12664404 ] Yonik Seeley commented on LUCENE-1316: -- In a way, this is a mirror image of Jason's r

Maximum boost factor

2009-01-15 Thread mitu2009
Does anyone know the maximum boost factor value for a field in Lucene? Thanks! -- View this message in context: http://www.nabble.com/Maximum-boost-factor-tp21492116p21492116.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. ---

RE: Bubbling up newer records

2009-01-15 Thread mitu2009
Hi, Thanks for your suggestions! Am new to Lucene...would appreciate if u could elaborate ur following point with an example: > Add a separate field, say "days", in which you will put as many "1" as > many days elapsed since the epoch (not neccessarily since 1 Jan 1970 - > pick a date that mak

[jira] Updated: (LUCENE-1314) IndexReader.clone

2009-01-15 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Rutherglen updated LUCENE-1314: - Attachment: LUCENE-1314.patch All tests pass Changed DirectoryIndexReader. acquireWrite

Lucene index updation and performance

2009-01-15 Thread mitu2009
I am working on a job portal site and have been using Lucene for job search functionality. Users will be posting a number jobs on our site on a daily basis.We need to make sure that new job posted is searchable on the site as soon as possible. In this context, how do I update Lucene index when a n

[jira] Created: (LUCENE-1520) OOM erros with CheckIndex with indexes containg a lot of fields with norms

2009-01-15 Thread Uwe Schindler (JIRA)
OOM erros with CheckIndex with indexes containg a lot of fields with norms -- Key: LUCENE-1520 URL: https://issues.apache.org/jira/browse/LUCENE-1520 Project: Lucene - Java

[jira] Commented: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664306#action_12664306 ] Uwe Schindler commented on LUCENE-505: -- Mike: I created new issue LUCENE-1520 and adde

[jira] Commented: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664295#action_12664295 ] Michael McCandless commented on LUCENE-505: --- bq. CheckIndex opens and then tests

[jira] Issue Comment Edited: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664290#action_12664290 ] thetaphi edited comment on LUCENE-505 at 1/15/09 2:19 PM: --- {q

[jira] Commented: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664290#action_12664290 ] Uwe Schindler commented on LUCENE-505: -- {quote} bq. In my opinion the problem with lar

[jira] Commented: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664280#action_12664280 ] Michael McCandless commented on LUCENE-505: --- bq. In my opinion the problem with l

[jira] Commented: (LUCENE-1316) Avoidable synchronization bottleneck in MatchAlldocsQuery$MatchAllScorer

2009-01-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664276#action_12664276 ] Michael McCandless commented on LUCENE-1316: I think at least AllTermDocs.java

[jira] Commented: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664272#action_12664272 ] Uwe Schindler commented on LUCENE-505: -- In my opinion the problem with large indexes i

[jira] Commented: (LUCENE-1314) IndexReader.clone

2009-01-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664271#action_12664271 ] Michael McCandless commented on LUCENE-1314: {quote} > Previously on a clone,

[jira] Commented: (LUCENE-1314) IndexReader.clone

2009-01-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664265#action_12664265 ] Michael McCandless commented on LUCENE-1314: Jason I think TestIndexReaderClon

[jira] Commented: (LUCENE-505) MultiReader.norm() takes up too much memory: norms byte[] should be made into an Object

2009-01-15 Thread Shon Vella (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664255#action_12664255 ] Shon Vella commented on LUCENE-505: --- Without this sort of change, searching a large index

RE: Bubbling up newer records

2009-01-15 Thread Steven A Rowe
On 01/14/2009 at 10:44 PM, mitu2009 wrote: > Is it possible to bubble up newer records in lucene search results? ie.I > want Lucene to give a higher score to records which are closer to > today's date. In addition to the fine ideas given by previous posters, Andrzej Bialecki has described a techn

[jira] Commented: (LUCENE-1476) BitVector implement DocIdSet

2009-01-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664083#action_12664083 ] Michael McCandless commented on LUCENE-1476: I think it's fine to expose this

Re: Bubbling up newer records

2009-01-15 Thread Michael McCandless
BTW, for future reference, this question is better suited to the java- user list... There are actually various ways to do this. First question is how to store the info... you can use payloads (as Shai describes), or a simple stored field, or single-term index & load through FieldCache. Second

Re: Bubbling up newer records

2009-01-15 Thread Chris Lu
No default behavior of Lucene does this. My approach is to create a time weight query with a scorer that weighs in the time based on a user-defined formula. This way, you can view the explained query with the time weighting information, and the weighting can be dynamically controlled. This is a b

Re: Bubbling up newer records

2009-01-15 Thread Shai Erera
Hey, I'm not familiar w/ an out-of-the-box feature like that in Lucene, but what you could do is: 1. Add to each document a field, let's say "datepld" by using the d.add(new Field("datepld", TokenStream)). 2. Write a special TokenStream which its next() methods add a single, fixed, te