Return-Path: X-Original-To: apmail-lucenenet-dev-archive@www.apache.org Delivered-To: apmail-lucenenet-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2FB911660 for ; Thu, 20 Feb 2014 15:07:41 +0000 (UTC) Received: (qmail 65475 invoked by uid 500); 20 Feb 2014 15:06:59 -0000 Delivered-To: apmail-lucenenet-dev-archive@lucenenet.apache.org Received: (qmail 65140 invoked by uid 500); 20 Feb 2014 15:06:45 -0000 Mailing-List: contact dev-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucenenet.apache.org Delivered-To: mailing list dev@lucenenet.apache.org Received: (qmail 64564 invoked by uid 99); 20 Feb 2014 15:06:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 15:06:25 +0000 Date: Thu, 20 Feb 2014 15:06:25 +0000 (UTC) From: "Simon Svensson (JIRA)" To: dev@lucenenet.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENENET-536) Is there any method to convert StringToCollection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)