You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/12/01 12:01:12 UTC
[jira] [Updated] (LUCENE-6084) Add reasonable IndexOutput.toString
[ https://issues.apache.org/jira/browse/LUCENE-6084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-6084:
---------------------------------------
Attachment: LUCENE-6084.patch
Simple patch.
I left RAMOutputStream as allowing "noname" since we use it in many places for temporary in-memory writing ... but I fixed RAMDirectory to pass it the name.
> Add reasonable IndexOutput.toString
> -----------------------------------
>
> Key: LUCENE-6084
> URL: https://issues.apache.org/jira/browse/LUCENE-6084
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 5.0, Trunk
>
> Attachments: LUCENE-6084.patch
>
>
> In LUCENE-3539 we fixed IndexInput.toString to always include the resourceDescription.
> I think we should do the same for IndexOutput?
> I don't think Lucene currently uses/relies on IndexOutput.toString, but e.g. at least Elasticsearch does, and likely others, so I think it can only help if you can see which path is open by this IndexOutput.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org