Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E9307200D2A for ; Sat, 28 Oct 2017 17:37:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E7B45160BE1; Sat, 28 Oct 2017 15:37:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3956E1609D5 for ; Sat, 28 Oct 2017 17:37:56 +0200 (CEST) Received: (qmail 72799 invoked by uid 500); 28 Oct 2017 15:37:55 -0000 Mailing-List: contact user-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucy.apache.org Delivered-To: mailing list user@lucy.apache.org Received: (qmail 72786 invoked by uid 99); 28 Oct 2017 15:37:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2017 15:37:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4F3B318074A for ; Sat, 28 Oct 2017 15:37:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id I1I4R95MDOlT for ; Sat, 28 Oct 2017 15:37:52 +0000 (UTC) Received: from hosting04.aevum.de (hosting04.aevum.de [188.68.58.30]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 33FD75FB0B for ; Sat, 28 Oct 2017 15:37:52 +0000 (UTC) Received: from [IPv6:2001:a61:1146:7001:b966:3936:f383:6e96] (unknown [IPv6:2001:a61:1146:7001:b966:3936:f383:6e96]) by hosting04.aevum.de (Postfix) with ESMTPSA id ACC5660044; Sat, 28 Oct 2017 17:37:45 +0200 (CEST) To: user@lucy.apache.org, raja raja References: From: Nick Wellnhofer Message-ID: Date: Sat, 28 Oct 2017 17:37:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [lucy-user] Lucy client/server archived-at: Sat, 28 Oct 2017 15:37:57 -0000 On 26/10/2017 19:57, raja raja wrote: > Any suggestions on how to run Lucy in client, server mode? Lucy doesn't really offer a client/server mode. LucyX::Remote is a more or less experimental feature for clustering and not what you seem to expect. It requires the full schema and a Lucy library on the client. I'd suggest to either roll your own search server over HTTP or use a solution like Dezi which runs on top of Lucy: https://metacpan.org/pod/Dezi > One other related query, how can I perform search (in e.g. search.pl script above) on a specific column in a tabular data rather than the default mode of searching all columns together. So, something like: 'my $hits = $searcher->hits( query => "Shoes:nike" );' ? Either use a QueryParser with set_heed_colons set to true or create your query manually using query objects: http://lucy.apache.org/docs/perl/Lucy/Search/QueryParser.html http://lucy.apache.org/docs/perl/Lucy/Docs/Tutorial/QueryObjectsTutorial.html Nick