how to filter data from matched result grouping by field value

2018-04-05 Thread jaejong
How can I filter resent data from matched result by grouping date field for example I annote my entity as follows hsno column for @Field(index=Index.YES, analyze=Analyze.YES, store=Store.YES) date column for @Field(index = Index.YES, analyze=Analyze.NO, store = Store.YES) kor column for @Field(i

Question: find term by position and document id

2018-04-05 Thread Adam Hornacek
Hello, I’m having difficulty finding a solution to the following problem: I’m trying to implement suggestions for PhraseQuery. Let’s say we have a PhraseQuery in the form "com.example". I would like to find all the terms that are right after the `example` term. From the implementation of the Ph

Re: Question: find term by position and document id

2018-04-05 Thread Adrien Grand
Indeed it is not possible to do something like this efficiently. The only way to do something like this that I know of would be to index shingles and then query them by prefix. Le jeu. 5 avr. 2018 à 14:11, Adam Hornacek a écrit : > Hello, > > I’m having difficulty finding a solution to the follo

upgrading to lucene 5.5.5

2018-04-05 Thread Chris Salem
I'm trying to upgrade from lucene 4.10.4 too lucene 5.5.5 and I'm having trouble converting some of my code, here's the function I'm having trouble with. public Query rewrite(IndexReader reader) throws IOException { WildcardQuery wildQuery = new WildcardQuery(term); wildQu