SynonymGraphFilter Usage

2017-02-09 Thread Corbin, J.D.
I am using the SynonymGraphFilter(SGF) in a custom analyzer (query side only) and when I print out the query generated from the QueryParser, it displays some clauses that I would like to understand. I am not sure I'm using the SGF properly. Example Query output:(using Lucene 6.4.1) ..., (Synony

Proper Use of SynonymGraphFilter

2017-02-13 Thread Corbin, J.D.
Hi, I am looking for some guidance on the proper use of the SynonymGraphFilter in Lucene (6.4.1). Below is how I am implementing the analyzers for the index and query sides. I don't see a lot of examples on the proper usage of the SynonymGraphFilter so was hoping that someone (Michael McCandless?

Re: Proper Use of SynonymGraphFilter

2017-02-13 Thread Corbin, J.D.
time, > and use only SynonymGraphFilter at search time. > > If it is not OK, then you should use SynonymGraphFilter followed by > FlattenGraphFilter at index time, and no syn filter at search time. > > Mike McCandless > > http://blog.mikemccandless.com > > > On Mon, F

Lucene Versions

2017-02-16 Thread Corbin, J.D.
Today I noticed there is a new release of Lucene v5.5.4. What is the major difference(s) between the 5.x and 6.x lines of Lucene. Thanks, J.D. Corbin

Re: Lucene Versions

2017-02-16 Thread Corbin, J.D.
is > probably the best overview, while the detailed bug changes are also > listed. Both of the above are defined for each release. > > Best, > Erick > > On Thu, Feb 16, 2017 at 7:44 AM, Corbin, J.D. > wrote: > > Today I noticed there is a new release of Lucene v5.5.4.

Re: Lucene Versions

2017-02-16 Thread Corbin, J.D.
requent releases > and contains improvements that 5.x does not have. > > Le jeu. 16 févr. 2017 à 17:18, Corbin, J.D. a > écrit : > > > Hi, > > > > I am aware of the changes documented, I was just curious why there are > two > > baselines for Lucene, e.g

QueryParser

2017-02-16 Thread Corbin, J.D.
I am using org.apache.lucene.queryparser.classic.QueryParser to generate my queries in Lucene 6.4.1 and the class level docs indicate there is a "new" QueryParser in contrib. I am wondering if the documentation in the class is accurate and if so, where is this "new" QueryParser implementation. I'v

Re: search any field name having a specific value

2017-03-17 Thread Corbin, J.D.
​You might take a look at MultiFieldQueryParser. I believe it allows you to search multiple index fields at the same time. J.D. Corbin Senior Research Engineer Advanced Computing & Data Science Lab 3075 W. Ray Road Suite 200 Chandler, AZ 85226-2495 USA M: (303) 912-0958 E: jd.cor...@pears

Re: search any field name having a specific value

2017-03-17 Thread Corbin, J.D.
stian Lorenzetto < cristian.lorenze...@gmail.com> wrote: > It permits to search in a predefined lists of fields that you have to know > in advance. In my case i dont know what is the fieldname. > maybe WildcardQuery? > > 2017-03-17 19:30 GMT+01:00 Corbin, J.D. : >

Re: Text search from List of xml files using Apache Lucene

2017-03-28 Thread Corbin, J.D.
Hi Karthik, ​Sounds like you know what you have to do, the only problem I saw with your statement is about parsing it with Lucene. You can read the files from disk (basic I/O) and use a SAX parser to extract the information you want to search against and then build your index from that informati