[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Re: Migration to Lucene 6.x
From:       krish mohan <krishmohan1919 () gmail ! com>
Date:       2017-07-31 9:35:27
Message-ID: CAHNRqV-VeCeUbdbigTei7-Si76XTWTgzBOnQxih-W01vyN708Q () mail ! gmail ! com
[Download RAW message or body]


Correction in link. QueryParser(Version matchVersion, String f, Analyzer a)
<https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/queryParser/QueryParser.html#QueryParser(org.apache.lucene.util.Version,
 java.lang.String, org.apache.lucene.analysis.Analyzer)>

On Mon, Jul 31, 2017 at 2:50 PM, krish mohan <krishmohan1919@gmail.com>
wrote:

> Hi
> I'm using Lucene 4.10.4. QueryParser in LUCENE_30 forms phrase query
> for input with special characers ($,/,-,...)
> 
> For eg:
> For input *google-chrome-stable*, query formed as "google chrome
> stable".
> 
> Using QueryParser(Version matchVersion, String f, Analyzer a)
> <https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/util/Version.html> \
> , I pass the version as  LUCENE_30 and achieved this behavior.
> 
> But in Lucene 6.x this constructor is removed. Is there any way to
> achieve this in Lucene 6.x ?
> 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic