I suppose this begs the question, why are we including NOTICE.txt in our
distribution for *anything* we don't distribute?
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Tue, Mar 21, 2023 at 7:57 PM Michael Sokolov wrote:
> Lucene is licen
(binding)
vote: D, A1
(thanks Ryan for your thorough vote instructions & preparation)
C. The current Lucene logo [4]
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Mon, Jun 15, 2020 at 6:08 PM Ryan Ernst wrote:
> Dear Lucene and Solr developers!
>
> In February a contest was started to design a new logo for
uates" to
Lucene core some day. It's placement in sandbox is why it can't be added
to any of Lucene's query parsers like complex phrase.
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Wed, Feb 12, 2020 at 11:07 AM wrote:
> Hi,-
>
> Regard
ough doc-value seems slow.
> It needs to load shapes from doc-value for all docs and check each with the
> query shape.
>
>
> 2018-06-02 3:31 GMT+08:00 David Smiley :
>
> > Hi Bingtao,
> >
> > > If I want to implement query for other relations, should I just
>
Hi Bingtao,
> If I want to implement query for other relations, should I just serialize
shape to binary format(e.g. wkb) and fall back to jts?
Yes. There's a lot already there but you'd need to subclass some stuff to
add some other predicates. See CompositeSpatialStrategy and
Hi Tom,
If you qualify the solution as using BKD (what Lucene now calls
"PointValues") then -- no. But that's an implementation detail. In terms
of capabilities, if you want to index polygons (as represented on the
surface of a sphere, not 2d) in Lucene, then it's possible. See
Geo3dRptTest.
I like how you figured out how to add DocValues without having to modify
PointVectorStrategy at all -- nice.
But I think you are completely using PointVectorStrategy, even for
filtering (query)? It does a relatively slow job at that; I suggested
using RecursivePrefixTreeStrategy for the
Oh yes So in 5.x there was no DocValues option for this
SpatialStrategy impl which is a shame of course. You could take the code
for 6.x:
https://github.com/apache/lucene-solr/blob/branch_6x/lucene/spatial-extras/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java
and back
As I mentioned that PointVectorStrategy has an argument that accepts a
Lucene FieldType that you can add docValues to.
On Sun, Jul 16, 2017 at 2:07 PM sc wrote:
> Thanks for the suggestion.
>
> I changed the strategy to
>
> this.strategy = new PointVectorStrategy(ctx,
Hi "sc",
I suspect you are hitting OOM for makeDistanceValueSource call on
RecursivePrefixTreeStrategy. That strategy is best for filtering (the
query), but it's a memory pig for distance sorting requirements. Instead,
use PointVectorStrategy for the makeDistanceValueSource purpose. For that
If there are no filters, then LatLonDocValuesField is going to be asked to
sort all of your docs, which is obviously going to take awhile. Can you
simply add a filter? Like a distance filter using LatLonPoint?
On Thu, Jun 29, 2017 at 11:49 AM sc wrote:
> Hi,
>
>I
Nice!
On Tue, Jun 13, 2017 at 11:12 PM Tom Hirschfeld
wrote:
> Hey All,
>
> I was able to solve my problem a few weeks ago and wanted to update you
> all. The root issue was with the caching mechanism in
> "makedistancevaluesource" method in the lucene spatial module,
I know I'm late to this thread, but I saw this and specifically "reverse
geocoding" and it caught my attention. I recently did this on a public
project with Solr, which you may find of interest:
https://github.com/cga-harvard/hhypermap-bop/tree/master/enrich/solr-geo-admin
I'm super pleased with
On Tue, May 30, 2017 at 9:25 AM Dawid Weiss wrote:
> > #2 & #3 is the same requirement; you elaborate on #2 with more detail in
> #3.
> > The UH can't currently do this; but with the OH (original Highlighter)
> you
> > can but it appears somewhat awkward. See
Looks like you should use the original Highlighter until requirement #2,3
can be done with the UnifiedHighlighter. Other than #2,3, the UH can
handle all these requirements, and the OH can do all.
On Sat, May 27, 2017 at 6:08 AM Dawid Weiss wrote:
> Thanks for your
I was recently asked if/how the UnifiedHighlighter can return a Passage
centered around the highlighted words. I'm responding to a wider audience
(java-user list, ...).
Each highlighter implementation fragments the content into passages (with
highlights) using a different algorithm.
The
Hello Randy.
If you are on Lucene 6x, or possibly some late 5x releases, there are newer
Lucene spatial implementations that have fewer moving parts to them and so
will be simpler. I'm almost certain they would be fastest too, although
perhaps that's not much of an issue with only 100k's of data
It would help tremendously if you can give a specific code example showing
the problem.
On Thu, Jun 2, 2016 at 6:41 AM Sascha Janz wrote:
>
> we use highlighter to get textfragments for our hit list.
>
> the code is straight forward like this
>
>Analyzer analyzer = new
Ken,
See BooleanQuery.Builder.
p.s. nice to see you at Apache Big Data in Vancouver.
~ David
On Thu, May 19, 2016 at 4:28 PM Ken Krugler
wrote:
> Hi all,
>
> I’ve got an alternative representation in the index for numeric fields,
> and I need to construct an
Hi James,
The spatial module in v4 is completely different than the one in v3. It
would be good for you to review the new API rather then looking for a 1-1
equivalent to a class that existed in v3. Take a look at the top level
javadocs for the spatial module, and in particular look at
Just finished: http://wiki.apache.org/solr/SpatialForTimeDurations
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spatial-indexing-IndexOutOfBounds-in-QuadPrefixTree-tp4040511p4045998.html
DiskDocValues is a codec (or part of a codec, apparenlty) for accessing the
DocValues from disk, with minimal RAM usage for things like offsets.
Lucene42Codec alternatively puts all of DocValues in RAM. Is the actual
disk resident data format the same between them? And how do you pick
choose
Thanks Robert; that's very helpful.
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/DiskDocValues-vs-Lucene42Codec-tp4044061p4045935.html
Sent from the Lucene - Java Users mailing list
Paul, FYI:
http://lucene.472066.n3.nabble.com/InvalidShapeException-when-using-SpatialRecursivePrefixTreeFieldType-with-custom-worldBounds-tt4045351.html
I suggested to file a bug report.
~ David
Paul Alexandrow wrote
Hi List,
I've encountered this problem using Solr (4.1.0), but as far
I responded to the solr-user thread.
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/question-re-lucene-spatial-toolkit-aka-LSP-aka-spatial4j-tp3999889p425.html
Sent from the Lucene -
Amir,
CachedDistanceValueSource is indeed poorly named; I need to get renaming it
on the TODO list; I've identified this before. Calculating the distance is
computationally cheap enough to calculate for the X number of results
(top-20-ish) you are returning in your search results to not bother
Amir,
The geo query's score happens to be the distance but I don't expect that
to remain so. I plan for it to be 1/distance which is a better relevancy
value -- a score is supposed to be about relevancy after all. If you want
to get the distance for a search result, I recommend calculating it
The Extras /
demo related part arguably doesn't count.
~ David Smiley
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3629480.html
Sent from the Lucene - Java Users
as TwoDoublesStrategy does; that's something I need to improve, but it
works.
~ David Smiley
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3625177.html
Sent from
served working with Lucene directly instead of Solr (or Solr's
Lucene based competitors).
~ David Smiley
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3625962.html
Sent
31 matches
Mail list logo