Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0576DD04B for ; Wed, 10 Oct 2012 11:39:57 +0000 (UTC) Received: (qmail 71555 invoked by uid 500); 10 Oct 2012 11:39:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 71229 invoked by uid 500); 10 Oct 2012 11:39:54 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Delivered-To: moderator for java-user@lucene.apache.org Received: (qmail 65095 invoked by uid 99); 10 Oct 2012 11:38:10 -0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Date: Wed, 10 Oct 2012 13:37:38 +0200 From: =?utf-8?Q?Rafa=C5=82_Ku=C4=87?= X-Priority: 3 (Normal) Message-ID: <1885725510.20121010133738@alud.com.pl> To: java-user@lucene.apache.org Subject: Re: Storing html files in lucene index and get back them In-Reply-To: <1349866021428-4012877.post@n3.nabble.com> References: <1349866021428-4012877.post@n3.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello! Add a stored field to your index - it will store the original value you pass to Lucene, not the analyzed one. Take a look at the Field class - http://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/docum= ent/Field.html As for the clients side - your clients doesn't work on the Lucene indices but they work with your application right ? If that's true than your application should have a functionality which allows to get the contents of such field. --=20 Regards, Rafa=C5=82 Ku=C4=87 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Hi to all I am using Apache Lucene in java Swing API . For searching i am > indexing on the contents of html files =20 > But the problem is that i have to give the complete software to the client > and we dont want to give the actual html files but they should be stored = in > lucene index. and on client side he could access them only with the help = of > lucene index .=20 > Is it possible in lucene if yes then please suggest me the code of storing > as well accessing the html files on client side=20 > regards=20 > thanks in advance > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Storing-html-files-in-lucene-index-and= -get-back-them-tp4012877.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org