Hello,

I am Lucene User and have created a Index of 2 MB data, that have 3
field.. Name, Addess, and City,..

I wants to lits out all the Name lists, so I have put lucene Query to
MultifieldQueryParser as Name:* but its give me "Lexical error at line
1, column 2. Encountered: <EOF> after : """ at
Lucene.Net.QueryParsers.ParseException, so what will I do..

Thanks
Laxmi Lal Menaria

Search Discussions

  • Edward yoon at Feb 8, 2007 at 11:19 am
    I think you can get a information from luke source.
    http://www.getopt.org/luke/luke-0.6/luke.zip

    This message was create by webmaster@udanax.org
    +82-10-7149-7856 (edward yoon)
    From: "Laxmilal Menaria" <menarialaxmilal@gmail.com>
    Reply-To: lucene-net-user@incubator.apache.org
    To: lucene-net-user@incubator.apache.org
    Subject: Lexical error
    Date: Thu, 8 Feb 2007 16:37:50 +0530
    MIME-Version: 1.0
    Received: from mail.apache.org ([140.211.11.2]) by bay0-pamc1-f10.bay0.hotmail.com
    with Microsoft SMTPSVC(6.0.3790.2444); Thu, 8 Feb 2007 03:08:15 -0800
    Received: (qmail 45297 invoked by uid 500); 8 Feb 2007 11:08:21 -0000
    Received: (qmail 45288 invoked by uid 99); 8 Feb 2007 11:08:20 -0000
    Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org
    (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 03:08:20 -0800
    Received: pass (herse.apache.org: domain of menarialaxmilal@gmail.com designates
    209.85.132.240 as permitted sender)
    Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by
    apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 03:08:11 -0800
    Received: by an-out-0708.google.com with SMTP id b2so463909ana for
    <lucene-net-user@incubator.apache.org>; Thu, 08 Feb 2007 03:07:50 -0800 (PST)
    Received: by 10.100.164.14 with SMTP id m14mr10302183ane.1170932870480; Thu, 08 Feb 2007
    03:07:50 -0800 (PST)
    Received: by 10.64.53.14 with HTTP; Thu, 8 Feb 2007 03:07:50 -0800 (PST)
    Hello,
    I am Lucene User and have created a Index of 2 MB data, that have 3
    field.. Name, Addess, and City,..
    I wants to lits out all the Name lists, so I have put lucene Query
    to
    MultifieldQueryParser as Name:* but its give me "Lexical error at
    line
    1, column 2. Encountered: <EOF> after : """ at
    Lucene.Net.QueryParsers.ParseException, so what will I do..
    Thanks
    Laxmi Lal Menaria
    Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!
  • Laxmilal Menaria at Feb 8, 2007 at 11:34 am
    I have tried with luke same, but it is giving same error...


    On 2/8/07, edward yoon wrote:

    I think you can get a information from luke source.
    http://www.getopt.org/luke/luke-0.6/luke.zip

    This message was create by webmaster@udanax.org
    +82-10-7149-7856 (edward yoon)

    ------------------------------
    From: *"Laxmilal Menaria" <menarialaxmilal@gmail.com>*
    Reply-To: *lucene-net-user@incubator.apache.org*
    To: *lucene-net-user@incubator.apache.org*
    Subject: *Lexical error*
    Date: *Thu, 8 Feb 2007 16:37:50 +0530*
    MIME-Version: *1.0*
    Received: *from mail.apache.org ([140.211.11.2]) by
    bay0-pamc1-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444);
    Thu, 8 Feb 2007 03:08:15 -0800*
    Received: *(qmail 45297 invoked by uid 500); 8 Feb 2007 11:08:21 -0000*
    Received: *(qmail 45288 invoked by uid 99); 8 Feb 2007 11:08:20 -0000*
    Received: *from herse.apache.org (HELO herse.apache.org) (140.211.11.133)
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 03:08:20 -0800*
    Received: *pass (herse.apache.org: domain of menarialaxmilal@gmail.comdesignates
    209.85.132.240 as permitted sender)*
    Received: *from [209.85.132.240] (HELO an-out-0708.google.com) (
    209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007
    03:08:11 -0800*
    Received: *by an-out-0708.google.com with SMTP id b2so463909ana for <
    lucene-net-user@incubator.apache.org>; Thu, 08 Feb 2007 03:07:50 -0800
    (PST)*
    Received: *by 10.100.164.14 with SMTP id m14mr10302183ane.1170932870480;
    Thu, 08 Feb 2007 03:07:50 -0800 (PST)*
    Received: *by 10.64.53.14 with HTTP; Thu, 8 Feb 2007 03:07:50 -0800 (PST)*
    Hello,

    I am Lucene User and have created a Index of 2 MB data, that have 3
    field.. Name, Addess, and City,..

    I wants to lits out all the Name lists, so I have put lucene Query
    to
    MultifieldQueryParser as Name:* but its give me "Lexical error at
    line
    1, column 2. Encountered: <EOF> after : """ at
    Lucene.Net.QueryParsers.ParseException, so what will I do..

    Thanks
    Laxmi Lal Menaria

    ------------------------------
    Express yourself instantly with MSN Messenger! MSN Messenger<http://g.msn.com/8HMAEN/2740??PS=47575>Download today it's FREE!
  • Michael Garski at Feb 8, 2007 at 6:37 pm
    Laxmi,

    To retrieve all of the terms of a particular field, you will need to
    enumerate through the terms using a TermEnum.

    If you are trying to retrieve all of the stored values, you will need to
    iterate through the documents.

    A wild card query for "*" will not work for what you are trying to do.
    If you are looking for examples, I suggest the book Lucene In Action.
    The code in the book is Java, however the API is idential to Lucene.Net.

    Michael

    Laxmilal Menaria wrote:
    Hello,

    I am Lucene User and have created a Index of 2 MB data, that have 3
    field.. Name, Addess, and City,..

    I wants to lits out all the Name lists, so I have put lucene Query to
    MultifieldQueryParser as Name:* but its give me "Lexical error at line
    1, column 2. Encountered: <EOF> after : """ at
    Lucene.Net.QueryParsers.ParseException, so what will I do..

    Thanks
    Laxmi Lal Menaria

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouplucene-net-user @
categorieslucene
postedFeb 8, '07 at 11:08a
activeFeb 8, '07 at 6:37p
posts4
users3
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase