[jira] Commented: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895147#action_12895147 ] Shai Erera commented on LUCENE-2574: Mike, did you add the seek to CSIndexInput? I don

Re: Should empty xml fields be treated as though they were absent?

2010-08-03 Thread Chris Hostetter
: name="lastsignindate"> which caused a SOLR exception. Is it intended : that SOLR treats an empty field differently from it simply not being sent at : all? Or is this just a consequence of how it's coded? i don't know that it was specificly intended, but it does have it's advantages. The issue

[jira] Commented: (LUCENE-2584) Concurrency issues in SegmentInfo.files() could lead to ConcurrentModificationException

2010-08-03 Thread Alexander Kanarsky (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895119#action_12895119 ] Alexander Kanarsky commented on LUCENE-2584: OK, I'll create patches tomorrow.

Should empty xml fields be treated as though they were absent?

2010-08-03 Thread Erick Erickson
This came up on the users list today. Claudio Devecchi defined a date field in his schema. His XML document had an empty field which caused a SOLR exception. Is it intended that SOLR treats an empty field differently from it simply not being sent at all? Or is this just a consequence of how it's c

[jira] Created: (SOLR-2026) Need infrastructure support in Solr for requests that perform multiple sequential queries

2010-08-03 Thread Karl Wright (JIRA)
Need infrastructure support in Solr for requests that perform multiple sequential queries - Key: SOLR-2026 URL: https://issues.apache.org/jira/browse/SOLR-2026 Pr

RE: What is the best way in Solr to perform iterative search?

2010-08-03 Thread karl.wright
I think a general feature along the lines I discussed would permit *all* of the scenarios to be dealt with effectively. Very good - I'll create a feature, ticket, and patch, and link to your ticket as well. ;-) Thanks, Karl From: ext Koji Sekiguchi [k...

Re: What is the best way in Solr to perform iterative search?

2010-08-03 Thread Koji Sekiguchi
I have a similar requirement: https://issues.apache.org/jira/browse/SOLR-1878 Koji -- http://www.rondhuit.com/en/ (10/08/04 4:41), karl.wri...@nokia.com wrote: Oops - I meant the "process()" method, not "prepare()", below. Looking at the code, it occurs to me that ideally such sequences of

[jira] Resolved: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-2574. Resolution: Fixed > Optimize copies between IndexInput and Output > --

[jira] Issue Comment Edited: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Sanne Grinovero (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895059#action_12895059 ] Sanne Grinovero edited comment on LUCENE-2585 at 8/3/10 6:26 PM: ---

[jira] Commented: (SOLR-2021) Make SolrHighlighter accept Encoder plugin

2010-08-03 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895061#action_12895061 ] Koji Sekiguchi commented on SOLR-2021: -- I forgot to svn add them. Thanks! > Make SolrH

[jira] Updated: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Sanne Grinovero (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sanne Grinovero updated LUCENE-2585: Description: I could reproduce the issue several times but only by running long and stres

[jira] Commented: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Sanne Grinovero (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895059#action_12895059 ] Sanne Grinovero commented on LUCENE-2585: - sure, the test is totally open source;

[jira] Commented: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895047#action_12895047 ] Michael McCandless commented on LUCENE-2585: Man it's hard to add a comment he

[jira] Commented: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895046#action_12895046 ] Yonik Seeley commented on LUCENE-2585: -- Background: via irc we brainstormed that the

[jira] Updated: (LUCENE-2586) move intblock/sep codecs into test

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2586: --- Attachment: LUCENE-2586.patch Attached patch. It can't be applied because it's a bu

[jira] Created: (LUCENE-2586) move intblock/sep codecs into test

2010-08-03 Thread Michael McCandless (JIRA)
move intblock/sep codecs into test -- Key: LUCENE-2586 URL: https://issues.apache.org/jira/browse/LUCENE-2586 Project: Lucene - Java Issue Type: Improvement Affects Versions: 4.0 Reporter: Mich

[jira] Commented: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Sanne Grinovero (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895027#action_12895027 ] Sanne Grinovero commented on LUCENE-2585: - I'm going to see if I can contribute a

[jira] Created: (LUCENE-2585) DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes

2010-08-03 Thread Sanne Grinovero (JIRA)
DirectoryReader.isCurrent might fail to see the segments file during concurrent index changes - Key: LUCENE-2585 URL: https://issues.apache.org/jira/browse/LUCENE-2585

RE: What is the best way in Solr to perform iterative search?

2010-08-03 Thread karl.wright
Oops - I meant the "process()" method, not "prepare()", below. Looking at the code, it occurs to me that ideally such sequences of queries ought to have their own supporting infrastructure within Solr, because doing two queries inside a search component's process() method basically defeats quer

[jira] Updated: (SOLR-1630) StringIndexOutOfBoundsException in SpellCheckComponent

2010-08-03 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated SOLR-1630: -- Attachment: SOLR-1630.patch attached is a patch with a testcase for the issue (and maybe a fix/workaroun

[jira] Commented: (SOLR-2013) ASCIIFoldingFilter => MappingCharFilterFactory as a mapping file

2010-08-03 Thread Steven Rowe (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894999#action_12894999 ] Steven Rowe commented on SOLR-2013: --- bq. I was referring to mapping-ISOLatin1Accent.txt in

[jira] Commented: (SOLR-2013) ASCIIFoldingFilter => MappingCharFilterFactory as a mapping file

2010-08-03 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894991#action_12894991 ] Robert Muir commented on SOLR-2013: --- Hi Tom: I was referring to mapping-ISOLatin1Accent.tx

[jira] Issue Comment Edited: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

2010-08-03 Thread Reuben Firmin (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894974#action_12894974 ] Reuben Firmin edited comment on SOLR-2025 at 8/3/10 2:26 PM: - RL

[jira] Issue Comment Edited: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

2010-08-03 Thread Reuben Firmin (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894974#action_12894974 ] Reuben Firmin edited comment on SOLR-2025 at 8/3/10 2:25 PM: - RL

[jira] Issue Comment Edited: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

2010-08-03 Thread Reuben Firmin (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894974#action_12894974 ] Reuben Firmin edited comment on SOLR-2025 at 8/3/10 2:25 PM: - RL

[jira] Commented: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

2010-08-03 Thread Reuben Firmin (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894974#action_12894974 ] Reuben Firmin commented on SOLR-2025: - RLa asked for more details. I snipped some lines

[jira] Commented: (SOLR-2013) ASCIIFoldingFilter => MappingCharFilterFactory as a mapping file

2010-08-03 Thread Tom Burton-West (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894973#action_12894973 ] Tom Burton-West commented on SOLR-2013: --- Steven and Robert, Thanks for contributing t

[jira] Commented: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

2010-08-03 Thread Reuben Firmin (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894960#action_12894960 ] Reuben Firmin commented on SOLR-2025: - This bug was introduced somewhere between 1.4-dev

[jira] Created: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

2010-08-03 Thread Reuben Firmin (JIRA)
SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List --- Key: SOLR-2025 URL: htt

[jira] Commented: (SOLR-2021) Make SolrHighlighter accept Encoder plugin

2010-08-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894950#action_12894950 ] Yonik Seeley commented on SOLR-2021: It's 2:30am in Japan - I'll take this ;-) > Make

[jira] Assigned: (SOLR-2021) Make SolrHighlighter accept Encoder plugin

2010-08-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley reassigned SOLR-2021: -- Assignee: Yonik Seeley (was: Koji Sekiguchi) > Make SolrHighlighter accept Encoder plugin > ---

RE: What is the best way in Solr to perform iterative search?

2010-08-03 Thread karl.wright
Thanks - I've got the latter situation, actually. I presume when you wrote your QueryComponent you did the query first execution, modification, and second execution all within the equivalent of the prepare() method? I didn't want to replace QueryComponent itself, since it does a fair bit of st

Re: What is the best way in Solr to perform iterative search?

2010-08-03 Thread Erik Hatcher
I'm not quite clear on what you want ... if you want to "search within previous search results", simply take the original query and turn it into an fq parameter for the next request using the new query as the q parameter. If you want to take some part of the current results to form a new

[jira] Commented: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894936#action_12894936 ] Michael McCandless commented on LUCENE-2574: OK thanks Shai! I'll stress test

[jira] Commented: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894934#action_12894934 ] Shai Erera commented on LUCENE-2574: Found the problem -- the order of the flushes in

[jira] Commented: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894926#action_12894926 ] Shai Erera commented on LUCENE-2574: Weird .. I've found out that if I disable this ca

[jira] Commented: (SOLR-2024) StreamingUpdateSolrServer encounters ConcurrentModificationException

2010-08-03 Thread Reuben Firmin (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894921#action_12894921 ] Reuben Firmin commented on SOLR-2024: - FWIW this appears to be SOLR-1711, but I opened a

[jira] Commented: (SOLR-2021) Make SolrHighlighter accept Encoder plugin

2010-08-03 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894920#action_12894920 ] Mark Miller commented on SOLR-2021: --- Looks like you missed adding SolrEncoder on trunk? >

[jira] Created: (SOLR-2024) StreamingUpdateSolrServer encounters ConcurrentModificationException

2010-08-03 Thread Reuben Firmin (JIRA)
StreamingUpdateSolrServer encounters ConcurrentModificationException Key: SOLR-2024 URL: https://issues.apache.org/jira/browse/SOLR-2024 Project: Solr Issue Type: Bug

What is the best way in Solr to perform iterative search?

2010-08-03 Thread karl.wright
Folks, I have a search task which needs to do the following: - Do a search - Use the results of that search to form a final query, which when executed returns the overall results The question is, what is the best way to build components within Solr to handle this request flow? My

[jira] Resolved: (SOLR-2021) Make SolrHighlighter accept Encoder plugin

2010-08-03 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi resolved SOLR-2021. -- Assignee: Koji Sekiguchi Resolution: Fixed trunk: Committed revision 981936. branch_3x: Co

[jira] Reopened: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reopened LUCENE-2574: > Optimize copies between IndexInput and Output >

[jira] Updated: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2574: --- Attachment: LUCENE-2574.patch Attached patch that shows that we still have a bug, he

[jira] Commented: (SOLR-236) Field collapsing

2010-08-03 Thread Pavel Minchenkov (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894896#action_12894896 ] Pavel Minchenkov commented on SOLR-236: --- Please, update patch for trunk. > Field colla

[jira] Updated: (LUCENE-2584) Concurrency issues in SegmentInfo.files() could lead to ConcurrentModificationException

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2584: --- Fix Version/s: 3.1 4.0 > Concurrency issues in SegmentInfo.files(

[jira] Commented: (LUCENE-2584) Concurrency issues in SegmentInfo.files() could lead to ConcurrentModificationException

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894860#action_12894860 ] Michael McCandless commented on LUCENE-2584: Ahh great catch! Yes please crea

[jira] Commented: (LUCENE-2574) Optimize copies between IndexInput and Output

2010-08-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894858#action_12894858 ] Michael McCandless commented on LUCENE-2574: It was pretty fast to track down