lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Svensson (JIRA)" <>
Subject [jira] [Commented] (LUCENENET-536) Is there any method to convert StringToCollection
Date Thu, 20 Feb 2014 15:06:25 GMT


Simon Svensson commented on LUCENENET-536:


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:
>             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

View raw message