[ 
https://issues.apache.org/jira/browse/LUCENENET-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charles Chang updated LUCENENET-165:
------------------------------------

    Description: 
I have some data that value is "OR",
I want to know how to query it?
I have try as follows,  
data:OR -->org.apache.lucene.queryParser.ParseException: Cannot parse 'OR': 
Encountered "OR" at line 1, column 0.Was expecting one of:    <NOT> ...    "+" 
...    "-" ...    "(" ...    "*" ...    <QUOTED> ...    <TERM> ...    
<PREFIXTERM> ...    <WILDTERM> ...    "[" ...    "{" ...    <NUMBER> ...

data:"OR" --> It can get nothing.


How to Search when the data's value is "OR" 

  was:
I have some data that value is "OR",
I want to know how to query it?
I have try as follows,  
data:OR -->org.apache.lucene.queryParser.ParseException: Cannot parse 'OR': 
Encountered "OR" at line 1, column 0.Was expecting one of:    <NOT> ...    "+" 
...    "-" ...    "(" ...    "*" ...    <QUOTED> ...    <TERM> ...    
<PREFIXTERM> ...    <WILDTERM> ...    "[" ...    "{" ...    <NUMBER> ...

data:"OR" --> It can get nothing.


How to Search where the data's value is "OR" 

        Summary: How to Search when the data's value is "OR"   (was: How to 
Search where the data's value is "OR" )

> How to Search when the data's value is "OR" 
> --------------------------------------------
>
>                 Key: LUCENENET-165
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-165
>             Project: Lucene.Net
>          Issue Type: Wish
>         Environment: Lucene.NET 2.3.1.2
>            Reporter: Charles Chang
>
> I have some data that value is "OR",
> I want to know how to query it?
> I have try as follows,  
> data:OR -->org.apache.lucene.queryParser.ParseException: Cannot parse 'OR': 
> Encountered "OR" at line 1, column 0.Was expecting one of:    <NOT> ...    
> "+" ...    "-" ...    "(" ...    "*" ...    <QUOTED> ...    <TERM> ...    
> <PREFIXTERM> ...    <WILDTERM> ...    "[" ...    "{" ...    <NUMBER> ...
> data:"OR" --> It can get nothing.
> How to Search when the data's value is "OR" 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to