You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Simon Svensson (JIRA)" <ji...@apache.org> on 2014/02/20 16:06:25 UTC
[jira] [Commented] (LUCENENET-536) Is there any method to convert
StringToCollection
[ https://issues.apache.org/jira/browse/LUCENENET-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907043#comment-13907043 ]
Simon Svensson commented on LUCENENET-536:
------------------------------------------
Hi,
That method, and the overload taking a dictionary, is meant for logging purposes. You could attempt to parse it back into a list again, but this is not something that's supported by the CollectionsHelper class. Are you attempting to store (stored, not analyzed) a serialized list in your index? It'll probably be easier to store a json representation than attempting to parse back the result of this method.
// Simon
> Is there any method to convert StringToCollection
> -------------------------------------------------
>
> Key: LUCENENET-536
> URL: https://issues.apache.org/jira/browse/LUCENENET-536
> Project: Lucene.Net
> Issue Type: Improvement
> Components: Lucene.Net Core
> Affects Versions: Lucene.Net 3.0.3
> Environment: Windows 8 and .Net Framework 4.5
> Reporter: Singaravelu
>
> "Lucene.Net.Support.CollectionsHelper.CollectionToString (System.Collections.ICollection c) "
> I have used the above method to convert Collection To String and added in index.
> After search how can I get my original collection from search result.?
> Is there any method to to that...?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)