Re: Lucene 5.2.0 global ordinal based query time join on multiple indexes

2015-07-21 Thread Alex Pang
Seems if I create a MultiReader from my index searchers and create the ordinal map from that MultiReader (and use an IndexSearcher created from the MultiReader in the createJoinQuery), then the correct results are found. On Mon, Jul 20, 2015 at 5:48 PM, Alex Pang wrote: > Hi, > > > > Does the G

Re: Analyzer for supporting hyphenated words

2015-07-21 Thread Alessandro Benedetti
Hey Jack, reading the doc : " Set to true if phrase queries will be automatically generated when the analyzer returns more than one term from whitespace delimited text. NOTE: this behavior may not be suitable for all languages. Set to false if phrase queries should only be generated when surround

Re: Analyzer for supporting hyphenated words

2015-07-21 Thread Jack Krupansky
If you don't explicitly enable automatic phrase queries, the Lucene query parser will assume an OR operator on the sub-terms when a white space-delimited term analyzes into a sequence of terms. See: https://lucene.apache.org/core/5_2_0/queryparser/org/apache/lucene/queryparser/classic/QueryParserB

Re: can I ?

2015-07-21 Thread Alessandro Benedetti
Hi Yechiel, if you refers to the same java object instances ( i.e. the same object, identified by the same reference in the heap space), the answer is no. The document you send to Lucene to be added to index is a different Object type from the one you can retrieve from a searcher. You can index

can I ?

2015-07-21 Thread Yechiel Feffer
Hi I am new to Lucene so- Can I get from search the same documents (i.e. same java object instances) that I used in my add command to the index? Thnx Yechiel

Re: Analyzer for supporting hyphenated words

2015-07-21 Thread Alessandro Benedetti
Hi Diego, let me try to help : I find this a little bit confused : "For our customer it is important to find the word - *wi-fi* by wi, *fi*, wifi, wi-fi - jean-pierre by jean, pierre, jean-pierre, jean-*" But : " The (exact) query "*FD-A320-REC-SIM-1*" returns FD-A320-REC-SIM-1 MIA-*FD-A320-REC-