Duplicate filtering

2016-09-19 Thread Vjeran Marcinko
Hello, I'm pretty much Lucene newb, so wondering for some short guidelines on how to implement some duplicate document filtering based on some field which defines uniqueness, and first document stays, other duplicates are filtered out? I know some 3rd party contrib lib existed before which w

Re: Duplicate filtering

2016-09-25 Thread Vjeran Marcinko
ep 20, 2016 at 12:18 PM Vjeran Marcinko < vjeran.marci...@email.t-com.hr> wrote: Hello, I'm pretty much Lucene newb, so wondering for some short guidelines on how to implement some duplicate document filtering based on some field which defines uniqueness, and first document stays, othe

Customizing/overriding date format in StandardQueryParser

2017-07-14 Thread Vjeran Marcinko
Hi all, If I store my time fields via DateTools, then I can use StandardQueryParser's range syntax for specifing date range: someField:[20170314 TO 20170922] , but unfortunately this is not date format that I want to present to my users. I examined parser API a bit, and the only thing I can

Document updating and SortedSetDocValuesFacetField

2017-08-30 Thread Vjeran Marcinko
?Hi everyone, Short question is: How do one update document that already has some SortedSetDocValuesFacetFields? Longer story is here... I'm using SortedSetDocValuesFacetField and faceting feature to implement "count by group" and everything works fine when I store the document for first time, s

How to load all document fields, together with facet fields?

2017-08-31 Thread Vjeran Marcinko
I zeroed in the problem with my updating documents having facet fields... What I need is a way to load document with all fields that existing when I was saving the document, meaning, together with facet fields. Anyway, here's the example. When I add my document to index, my document is having 3 f

Re: How to load all document fields, together with facet fields?

2017-09-01 Thread Vjeran Marcinko
ot loaded in plain way. -Vjeran On Fri, Sep 1, 2017 at 3:02 PM, Michael McCandless wrote: > You should separately add those fields to your document, using StoredField, > if you want to retrieve their values at search time. > > Mike McCandless > > http://blog.mikemccandless.com >

Re: How to load all document fields, together with facet fields?

2017-09-02 Thread Vjeran Marcinko
ere? > > Mike McCandless > > http://blog.mikemccandless.com > > On Fri, Sep 1, 2017 at 11:44 AM, Vjeran Marcinko > wrote: >> >> Hmmm, dunno what you mean... I currently store my simple document like >> this: >> >> doc.add(new StringFi