I have about 70k document, the total indexed size is about 15MB(the
orginal text files' size).
dir=new RAMDirectory();
IndexWriter write=new IndexWriter(dir,...;
for(loop){
writer.addDocument(doc);
}
IMHO, Instantiated sucks GC-wise. Put more docs in it, do enough
queries, and RAMDir eventually outperforms it.
On Thu, Aug 26, 2010 at 11:24, Li Li fancye...@gmail.com wrote:
I have about 70k document, the total indexed size is about 15MB(the
orginal text files' size).
dir=new
[
https://issues.apache.org/jira/browse/LUCENE-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902829#action_12902829
]
vijaykumarraja.grandhi commented on LUCENE-2095:
Thank you for guiding me
[
https://issues.apache.org/jira/browse/LUCENE-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902853#action_12902853
]
Steven Rowe commented on LUCENE-2611:
-
bq. Can you provide any information on tests
[
https://issues.apache.org/jira/browse/SOLR-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Miller updated SOLR-1873:
--
Attachment: SOLR-1873.patch
Latest patch - I think the funny extra line spaces are fixed - appears to
[
https://issues.apache.org/jira/browse/LUCENE-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902858#action_12902858
]
Robert Muir commented on LUCENE-2611:
-
Thanks Steven. sounds like we should re-open
[
https://issues.apache.org/jira/browse/LUCENE-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902860#action_12902860
]
Steven Rowe commented on LUCENE-2611:
-
bq. sounds like we should re-open LUCENE-2398
[
https://issues.apache.org/jira/browse/SOLR-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi updated SOLR-2046:
-
Attachment: SOLR-2046.patch
A new patch attached. In this patch, I'm going to remove readercycle
[
https://issues.apache.org/jira/browse/LUCENE-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902863#action_12902863
]
Robert Muir commented on LUCENE-2611:
-
bq. Yeah, I thought of that, but e.g. DIH's
[
https://issues.apache.org/jira/browse/SOLR-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi updated SOLR-2046:
-
Attachment: SOLR-2046.patch
add a function to set curl_url in scripts-util
[
https://issues.apache.org/jira/browse/SOLR-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Green updated SOLR-2052:
Affects Version/s: 4.0
(was: 1.4.1)
Allow for a list of filter queries
MultiThreading failed in IndexWritter
-
Key: LUCENENET-373
URL: https://issues.apache.org/jira/browse/LUCENENET-373
Project: Lucene.Net
Issue Type: Test
Environment: WindowsXP(SP3), .net
The latest solr tests are spitting out the exception below. Expected?
Looking at the test, it doesn't look expected - though I'm not sure why
the test doesn't fail:
[junit] SEVERE: Exception during facet
counts:java.lang.NegativeArraySizeException
[junit] at
[
https://issues.apache.org/jira/browse/LUCENENET-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thirumaran.Kasi updated LUCENENET-373:
--
Description:
Hi,
We are upgraded Lucene version from 1.9.0 to 2.9.2. When we
On Thu, Aug 26, 2010 at 10:21 AM, Mark Miller
mark.mil...@lucidimagination.com wrote:
The latest solr tests are spitting out the exception below. Expected?
Looking at the test, it doesn't look expected - though I'm not sure why
the test doesn't fail:
I just checked in a faceting optimization
Hi Folks,
I'm writing my first SearchComponent to do custom calculations on search
results. Is it possible to get the facet values for a field from within a
SearchComponent? I've thought of adapting the StatsComponent and
FieldFacetStats classes to try and accomplish this. But before I try that,
[
https://issues.apache.org/jira/browse/SOLR-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated SOLR-1665:
--
Attachment: SOLR-1665.patch
Here's a patch for this. Adds support for debug=timing,
my confile xml like this.
dataConfig
dataSource driver=org.hsqldb.jdbcDriver
url=jdbc:hsqldb:/temp/example/ex user=sa /
document name=products
entity name=item query=select * from item
field column=ID name=id /
field column=NAME name=name /
[
https://issues.apache.org/jira/browse/LUCENE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer updated LUCENE-2239:
Attachment: LUCENE-2239.patch
This patch adds a heads-up to FSDirectory to make uses
[
https://issues.apache.org/jira/browse/SOLR-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902909#action_12902909
]
Grant Ingersoll commented on SOLR-1665:
---
I intend to commit in a day or two.
Add
Under Factors affecting memory usage there is this text:
When processing an add command for a document, the standard XML update
handler has two limitations:
• All of the document's fields must simultaneously fit into memory.
(Technically, it's actually the sum of min(the actual field
On Thu, Aug 26, 2010 at 12:06 PM, Eric Pugh
ep...@opensourceconnections.com wrote:
Under Factors affecting memory usage there is this text:
When processing an add command for a document, the standard XML update
handler has two limitations:
• All of the document's fields must
[
https://issues.apache.org/jira/browse/LUCENE-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Miller updated LUCENE-2623:
Component/s: Tests
Random Test Failure
[
https://issues.apache.org/jira/browse/LUCENE-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Miller updated LUCENE-2622:
Component/s: Tests
Random Test Failure org.apache.lucene.TestExternalCodecs.testPerFieldCodec
[
https://issues.apache.org/jira/browse/SOLR-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902936#action_12902936
]
Yonik Seeley commented on SOLR-1665:
This seems a bit over-engineered?
What's the point
[
https://issues.apache.org/jira/browse/SOLR-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-1316:
---
Attachment: SOLR-1316.patch
Here's a patch to the tests:
- adds ASL header
- removes @Override from
[
https://issues.apache.org/jira/browse/SOLR-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902993#action_12902993
]
Mark Miller commented on SOLR-1316:
---
bq. removes @Override from interface methods
whys
[
https://issues.apache.org/jira/browse/SOLR-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902996#action_12902996
]
Yonik Seeley commented on SOLR-1316:
Makes it easier to backport to 3x later if desired.
[
https://issues.apache.org/jira/browse/SOLR-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903010#action_12903010
]
Grant Ingersoll commented on SOLR-1665:
---
I was just going to do a enum type, but then
[
https://issues.apache.org/jira/browse/SOLR-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley closed SOLR-2091.
--
Resolution: Duplicate
closing as duplicate of SOLR-1123
wt=json is served as text/plain
[
https://issues.apache.org/jira/browse/SOLR-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903015#action_12903015
]
Lorrin Nelson commented on SOLR-1123:
-
I propose treating this as two issues:
A
[
https://issues.apache.org/jira/browse/SOLR-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903016#action_12903016
]
Yonik Seeley commented on SOLR-1665:
bq. ResponseBuilder.addDebugInfo() w/o the interest
I meant exactly what I said. My opinion is that Instantiated puts more
strain on GC compared to RAMDir. If that aspect is negligible for you
(less docs, smaller heap) it quite probably runs faster, if not -
after some point GC costs will dwarf any gains.
2010/8/26 Li Li fancye...@gmail.com:
do
[
https://issues.apache.org/jira/browse/SOLR-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903028#action_12903028
]
Peter Kieltyka commented on SOLR-236:
-
Hey guys,
How difficult would it be to add the
[
https://issues.apache.org/jira/browse/SOLR-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903100#action_12903100
]
Paul R. Brown commented on SOLR-2091:
-
Can we bump the other issue from improvement to
[
https://issues.apache.org/jira/browse/SOLR-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903111#action_12903111
]
Hoss Man commented on SOLR-2026:
bq. I understand those use-cases but I still have a hard
On Thu, Aug 26, 2010 at 6:06 PM, Chris Hostetter
hossman_luc...@fucit.orgwrote:
we could concievable support having LimitTokenCountFilter added implicitly
even if that option isn't used, via some syntax like you suggest -- but
honestly i think it's better to just let the user declare it like
[
https://issues.apache.org/jira/browse/LUCENE-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir reopened LUCENE-2295:
-
I'm reopening this for discussion (both because it came up on the mailing list
and Mike's question
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adriano Crestani updated LUCENE-2625:
-
Attachment: TestTermDocs.java
This test case reproduces the problem. It fails using
[
https://issues.apache.org/jira/browse/SOLR-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903161#action_12903161
]
Yonik Seeley commented on SOLR-2091:
oops - first of all, apologies for reading your
Use a native priority queue to order facet results
--
Key: SOLR-2092
URL: https://issues.apache.org/jira/browse/SOLR-2092
Project: Solr
Issue Type: Improvement
Reporter: Yonik
[
https://issues.apache.org/jira/browse/SOLR-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-2092:
---
Attachment: SOLR-2092.patch
Here's a draft patch with only UnInvertedField converted from using
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903208#action_12903208
]
Shai Erera commented on LUCENE-2625:
You add the field as NOT_ANALYZED, therefore
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903210#action_12903210
]
Robert Muir commented on LUCENE-2625:
-
Hi, I'm not sure about this one being a bug:
#
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903211#action_12903211
]
Adriano Crestani commented on LUCENE-2625:
--
Hi Shai,
Sorry, but what do you mean
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903219#action_12903219
]
Shai Erera commented on LUCENE-2625:
Sorry, I've misread NOT_ANALYZED w/ NO. Too early
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903221#action_12903221
]
Adriano Crestani commented on LUCENE-2625:
--
Just confirmed here, invoking seek
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903220#action_12903220
]
Adriano Crestani commented on LUCENE-2625:
--
Thanks for the quick reply Shai and
[
https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903227#action_12903227
]
Robert Muir commented on LUCENE-2625:
-
bq. In my opinion, being unpositioned means the
49 matches
Mail list logo