Sounds like perhaps you passed a colon in as part of your search string.

Sent from my mobile phone.
Please excuse any spelling or gramatical errors.

On Feb 23, 2010, at 5:59 AM, "Giovanni Caputo" <[email protected] 
 > wrote:

>
>
> Inizio messaggio inoltrato:
>
>> Da: Giovanni Caputo <[email protected]>
>> Data: 23 febbraio 2010 12.54.46 GMT+01.00
>> A: [email protected], [email protected], [email protected] 
>> , [email protected], [email protected]
>> Oggetto: text as query of search
>>
>> Hi,
>> how  can i get documents similar to a long text??
>>
>> I am using lucene.net 2.4
>>
>> I have tested to use Query query = parser.Parse(ua.TestoCompleto);
>> where ua.TestoCompleto is a String
>>
>>
>> I have created QueryParser parser = new QueryParser(INDEX_PATH,  
>> analyzer);
>> as same mode of indexwriter
>>
>>
>> but it generate this exception
>>
>> A first chance exception of type  
>> 'Lucene.Net.QueryParsers.ParseException' occurred in Lucene.Net.dll
>> Encountered ":" at line 1, column 0.
>> Was expecting one of:
>>    <NOT> ...
>>    "+" ...
>>    "-" ...
>>    "(" ...
>>    <QUOTED> ...
>>    <TERM> ...
>>    <PREFIXTERM> ...
>>    <WILDTERM> ...
>>    "[" ...
>>    "{" ...
>>    <NUMBER> ...
>>
>>
>

Reply via email to