Re: Understanding Query Parser Behavior

2016-11-29 Thread Michael McCandless
Can you try escaping the / character to the query parser? E.g. pass this string instead: String value = "http\\:\\/\\/www.google.com"; Mike McCandless http://blog.mikemccandless.com On Tue, Nov 29, 2016 at 11:38 AM, Peru Redmi wrote: > Hello , > > It would be great , if someone could hel

Re: Understanding Query Parser Behavior

2016-11-29 Thread Peru Redmi
Hello , It would be great , if someone could help on this. *Note : I am using Lucene 4.10.4 version* On Mon, Nov 28, 2016 at 5:37 PM, Peru Redmi wrote: > Any help on this would be greatly appreciated. > > Thanks. > > On Thu, Nov 24, 2016 at 8:14 PM, Peru Redmi wrote: > >> >> Hello Mike, >> >>

Re: Understanding Query Parser Behavior

2016-11-28 Thread Peru Redmi
Any help on this would be greatly appreciated. Thanks. On Thu, Nov 24, 2016 at 8:14 PM, Peru Redmi wrote: > > Hello Mike, > > Here is, how i analyze my text using QueryParser ( with ClassicAnalyzer) > and plain ClassicAnalyzer. On checking the same in luke, i get "//" > as RegexQuery. > > Here

Re: Understanding Query Parser Behavior

2016-11-24 Thread Peru Redmi
Hello Mike, Here is, how i analyze my text using QueryParser ( with ClassicAnalyzer) and plain ClassicAnalyzer. On checking the same in luke, i get "//" as RegexQuery. Here is my code snippet: String value = "http\\://www.google.com"; > Analyzer anal = new ClassicAnalyzer(Version

Re: Understanding Query Parser Behavior

2016-11-24 Thread Michael McCandless
Hi, You should double check which analyzer you are using during indexing. The same analyzer on the same string should produce the same tokens. Mike McCandless http://blog.mikemccandless.com On Wed, Nov 23, 2016 at 9:38 PM, Peru Redmi wrote: > Could someone elaborate this. > > On Tue, Nov 22,

Re: Understanding Query Parser Behavior

2016-11-23 Thread Peru Redmi
Could someone elaborate this. On Tue, Nov 22, 2016 at 11:41 AM, Peru Redmi wrote: > Hello, > Can you help me out on your "No" . > > On Mon, Nov 21, 2016 at 11:16 PM, wmartin...@gmail.com < > wmartin...@gmail.com> wrote: > >> No >> >> Sent from my LG G4, an AT&T 4G LTE smartphone >> >> -- Ori

Re: Understanding Query Parser Behavior

2016-11-21 Thread Peru Redmi
Hello, Can you help me out on your "No" . On Mon, Nov 21, 2016 at 11:16 PM, wmartin...@gmail.com wrote: > No > > Sent from my LG G4, an AT&T 4G LTE smartphone > > -- Original message-- > *From: *Peru Redmi > *Date: *Mon, Nov 21, 2016 10:44 AM > *To: *java-user@lucene.apache.org; > *Cc: *

Re: Understanding Query Parser Behavior

2016-11-21 Thread wmartin...@gmail.com
No Sent from my LG G4, an AT&T 4G LTE smartphone -- Original message--From: Peru RedmiDate: Mon, Nov 21, 2016 10:44 AMTo: java-user@lucene.apache.org;Cc: Subject:Understanding Query Parser Behavior Hello All ,Could someone explain *QueryParser* behavior on these cases1. While Indexing ,D