A problem with depolying:solr6.5 report 404 error

2017-04-23 Thread David
Dear,manager: I have a problem with deploying the solr6.5. my environment are windows7+jdk 8u131+tomcat9.0+solr6.5. java run successfully, tomcat run successfully, solr6.5 has been depolyed. Enter http://localhost:8080/solr/index.html in firefox, and then report 404 error. The detail i

server won't start using configs from Drupal

2009-07-23 Thread david
... solr logs contain this: 127.0.0.1 - - [22/07/2009:08:01:10 +] "GET /solr/admin/ HTTP/1.1" 500 10292 Any help greatly appreciated. David.

Re: server won't start using configs from Drupal

2009-07-24 Thread david
know when that change was made? regards, David. Sematext is hiring -- http://sematext.com/about/jobs.html?mls Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR - Original Message From: david To: solr-user@lucene.apache.org Sent: Thursday, July 23, 2009 9:59:53 PM Su

Re: server won't start using configs from Drupal

2009-07-24 Thread david
Koji Sekiguchi wrote: David, Try to change solr.CharStreamAwareWhitespaceTokenizerFactory to solr.WhitespaceTokenizerFactory in your schema.xml and reboot Solr. That worked... thanks... David. Koji david wrote: Otis Gospodnetic wrote: I think the problem is

Changing schema without having to reindex

2010-05-28 Thread David
Hi, Can anyone tell me if it is possible to change the schema without having to reindex? I want to change the stored fields specifically. Any help would be appreciated, thanks.

Range query on long value

2010-06-04 Thread David
Hi, I have an issue with range queries on a long value in our dataset (the dataset is fairly large, but i believe the problem still exists for smaller datasets). When i query the index with a range, as such: id:[1 TO 2000], I get values back that are well outside that range. Its as if the r

Re: Range query on long value

2010-06-04 Thread David
On 10-06-04 05:11 PM, Ahmet Arslan wrote: I have an issue with range queries on a long value in our dataset (the dataset is fairly large, but i believe the problem still exists for smaller datasets). When i query the index with a range, as such: id:[1 TO 2000], I get values back that are wel

Re: How to check when a search exceeds the threshold of timeAllowed parameter

2015-12-23 Thread David Santamauro
On 12/23/2015 01:42 AM, William Bell wrote: I agree that when using timeAllowed in the header info there should be an entry that indicates timeAllowed triggered. If I'm not mistaken, there is => partialResults:true "responseHeader":{ "partialResults":true } // This is the only reason

date difference faceting

2016-01-08 Thread David Santamauro
] // week facet.query=sub(d_b,d_a)[ 60481 TO 259200 ] // month etc. Aside from actually indexing the difference in a separate field, is there something obvious I'm missing? I'm on SOLR 5.2 in cloud mode. thanks David

Re: date difference faceting

2016-01-08 Thread David Santamauro
n the same hardware. This assumes that the stat you're interested in is predictable of course... Best, Erick On Fri, Jan 8, 2016 at 2:23 AM, David Santamauro wrote: Hi, I have two date fields, d_a and d_b, both of type solr.TrieDateField, that represent different events associated with a part

solr-5.3.1 admin console not show properly

2016-01-13 Thread David Cao
1/server/solr-webapp/webapp} has uncovered http methods for path: / Any ideas? is there any work I need to do to config the classpath? thanks a lot! david

Fwd: solr-5.3.1 admin console not show properly

2016-01-14 Thread David Cao
lr-5.3.1/server/solr-webapp/webapp} has uncovered http methods for path: / Any ideas? is there any work I need to do to config the classpath? thanks a lot! david

Re: solr-5.3.1 admin console not show properly

2016-01-14 Thread David Cao
Hi Jan, The JVM is from IBM based on jre 1.7. IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20141216_227497 (JIT enabled, AOT enabled) The box I am using is just a dev vm box, using 'root' is temporary ... Thanks david On Thu, Jan 14, 2016 at 6:53 AM, David

SolrCloud replicas out of sync

2016-01-22 Thread David Smith
dification to this collection was 2 hours before I captured this information, and our auto commit time is 60 seconds. I have a lot of concerns here, but my first question is if anyone else has had problems with out of sync replicas, and if so, what they have done to correct this? Kind Regards, David

Re: Read time out exception - exactly 10 minutes after starting committing

2016-01-25 Thread David Andrews
(i.e. no socket timeout) -David > On Jan 24, 2016, at 3:18 PM, Shawn Heisey wrote: > > On 1/23/2016 9:24 PM, adfel70 wrote: >> 1. I am getting the "read time out" from the Solr Server. >> Not from my client, but from the server client when it tries to reach othe

Re: SolrCloud replicas out of sync

2016-01-26 Thread David Smith
factor of your updates and see if >> it ever changes >> This is a good tip. I’m not sure I like the implication that any failure to write all 3 of our replicas must be retried at the app layer. Is this really how SolrCloud applications must be built to survive network partiti

Re: SolrCloud replicas out of sync

2016-01-27 Thread David Smith
properly, this should be free of all lost update problems, at the cost of availability. Some SolrCloud users (like us!!!) would gladly accept that tradeoff. Regards David On 1/26/16, 4:32 PM, "Jeff Wartes" wrote: > >Ah, perhaps you fell into something like this then? >https:

Re: SolrCloud replicas out of sync

2016-01-27 Thread David Smith
standards of what I’ve seen posted elsewhere on this mailing list. We are always open to ZK recommendations from you or anyone else, particularly for running a SolrCloud cluster of this size. Kind Regards, David On 1/27/16, 12:46 PM, "Jeff Wartes" wrote: > >If you

Re: SolrCloud replicas out of sync

2016-01-29 Thread David Smith
leader and replica. I really hope they are able to get this to work. Ideally, the replicas would never become (permanently) inconsistent, but given that they do, it is crucial that SolrCloud can internally detect and fix, no matter what caused it or how long ago it happened. Regards, David

docValues error

2016-02-28 Thread David Santamauro
crementGap="100"> required="true" /> Notice that I don't have docValues defined. I realize the field type doesn't allow docValues so why does this group request fail with a docValues error? It did work with 4.8 Any clue would be appreciated, thanks David

Re: docValues error

2016-02-29 Thread David Santamauro
dexSearcher.java:486) at org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:233) at org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:160) at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:398) etc ... On 02/28/2016 05:31 PM, Davi

Re: docValues error

2016-02-29 Thread David Santamauro
On 02/29/2016 06:05 AM, Mikhail Khludnev wrote: On Mon, Feb 29, 2016 at 12:43 PM, David Santamauro < david.santama...@gmail.com> wrote: unexpected docvalues type SORTED_SET for field 'f1' (expected=SORTED). Use UninvertingReader or index with docvalues. DocValues is pri

Re: docValues error

2016-02-29 Thread David Santamauro
On 02/29/2016 07:59 AM, Tom Evans wrote: On Mon, Feb 29, 2016 at 11:43 AM, David Santamauro wrote: You will have noticed below, the field definition does not contain multiValues=true What version of the schema are you using? In pre 1.1 schemas, multiValued="true" is the defaul

Re: docValues error

2016-02-29 Thread David Santamauro
thanks Shawn, that seems to be the error exactly. On 02/29/2016 09:22 AM, Shawn Heisey wrote: On 2/28/2016 3:31 PM, David Santamauro wrote: I'm porting a 4.8 schema to 5.3 and I came across this new error when I tried to group.field=f1: unexpected docvalues type SORTED_SET for fiel

Re: Regarding google maps polyline to use IsWithin(POLYGON(())) in solr

2016-03-15 Thread David Smiley
ene has a "Geo3d" package within the Spatial3d module that has a native implementation of a buffered LineString as well, one that works on the surface of the earth. It hasn't yet been hooked into Spatial4j, after which Solr would need no changes. There's a user "Chris"

Re: Regarding google maps polyline to use IsWithin(POLYGON(())) in solr

2016-03-19 Thread David Smiley
JTS doesn't has any vertex limit on the geometries. So I don't know why your query isn't working. On Wed, Mar 16, 2016 at 1:58 AM Pradeep Chandra < pradeepchandra@gmail.com> wrote: > Hi Sir, > > Let me give some clarification on IsWithin(POLYGON(())) query...It is not > giving any result for

Re: Seasonal searches in SOLR 5.x

2016-03-22 Thread David Smiley
s link: http://wiki.apache.org/solr/SpatialForTimeDurations and it most definitely does not require polygons (and thus JTS); I'm not sure what gave you that impression. It's all rectangles & points. ~ David On Mon, Mar 21, 2016 at 1:29 PM Ioannis Kirmitzoglou < ioanniskirmitzog

Re: Deleted documents and expungeDeletes

2016-03-30 Thread David Santamauro
On 03/30/2016 08:23 AM, Jostein Elvaker Haande wrote: On 30 March 2016 at 12:25, Markus Jelsma wrote: Hello - with TieredMergePolicy and default reclaimDeletesWeight of 2.0, and frequent updates, it is not uncommon to see a ratio of 25%. If you want deletes to be reclaimed more often, e.g.

Re: Deleted documents and expungeDeletes

2016-04-01 Thread David Santamauro
The docs on reclaimDeletesWeight say: "Controls how aggressively merges that reclaim more deletions are favored. Higher values favor selecting merges that reclaim deletions." I can't imagine you would notice anything after only a few commits. I have many shards that size or larger and what I

Solr update fails with “Could not initialize class sun.nio.fs.LinuxNativeDispatcher”

2016-04-07 Thread David Moles
Call.java:654) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450) ... 22 more It looks like sun.nio.fs can't find its own classes, which seems odd. Solr is running with OpenJDK 1.8.0_77 on Amazon Linux AMI release 2016.03. Does anyone know what might be going on her

Re: Solr update fails with “Could not initialize class sun.nio.fs.LinuxNativeDispatcher”

2016-04-07 Thread David Moles
Hmm, I wonder whether I *am* using an SSD or spinning disk, in Apache. :) I guess I can try to find out. I forgot to mention, this is with Solr 5.2.1 — is that likely to make much difference? -- David Moles UC Curation Center California Digital Library On 4/7/16, 4:19 PM, "

Solr Support for BM25F

2016-04-14 Thread David Cawley
fields such as title, description, anchor etc, as they are structured documents. I am fairly new to Solr so any help would be appreciated. If this is possible or any steps as to how I can go about implementing this it would be greatly appreciated. Regards, David Current Solr Version 5.4.1

Re: Facet heatmaps: cluster coordinates based on average position of docs

2016-04-19 Thread David Smiley
Hi Anton, Perhaps you should request a more detailed / high-res heatmap, and then work with that, perhaps using some clustering technique? I confess I don't work on the UI end of things these days. p.s. I'm on vacation this week; so I don't respond quickly ~ David On Thu, Apr

Re: Replicas for same shard not in sync

2016-04-25 Thread David Smith
nd Regards, David On 4/25/16, 11:57 AM, "Erick Erickson" wrote: >bq: I also read that it's up to the >client to keep track of updates in case commits don't happen on all the >replicas. > >This is not true. Or if it is it's a bug. > >The update cycle is

Re: issues doing a spatial query

2016-04-28 Thread David Smiley
Hi. This makes sense to me. The point 49.8,-97.1 is in your query box. The box is lower-left to upper-right, so your box is actually an almost world-wrapping one grabbing all longitudes except -93 to -92. Maybe you mean to switch your left & right. On Sun, Apr 24, 2016 at 8:03 PM GW wrote: >

Re: Solr - index polygons from csv

2016-04-28 Thread David Smiley
(and it'll probably work fine for point data too). When you use geo=false, there are no units or it might have an ignorable value of degrees. Essentially it's in whatever units your data is on the Euclidean 2D plane. ~ David On Fri, Apr 22, 2016 at 4:33 AM Jan Nekuda wrote: > Hello

11:12:25 ERROR SolrCore org.apache.solr.common.SolrException: undefined field 1948

2016-05-05 Thread Garfinkel, David
I'm new to administering Solr, but it is part of my DAM and I'd like to have a better understanding. If I understand correctly I have a field in my schema with uuid 1948 that is causing an issue right? -- David Garfinkel Digital Asset Management/Helpdesk/Systems Support The Museum of

Re: 11:12:25 ERROR SolrCore org.apache.solr.common.SolrException: undefined field 1948

2016-05-05 Thread Garfinkel, David
Thanks Shawn! On Thu, May 5, 2016 at 12:14 PM, Shawn Heisey wrote: > On 5/5/2016 9:52 AM, Garfinkel, David wrote: > > I'm new to administering Solr, but it is part of my DAM and I'd like to > > have a better understanding. If I understand correctly I have a field in

Re: relaxed vs. improved validation in solr.TrieDateField

2016-05-06 Thread David Smiley
s the Java 8 time API which was taken, more or less, from Joda-time. But it's worth a shot, any way. If it doesn't work, let me know and I'll give you a snippet of JavaScript you can use in your URP chain. ~ David On Fri, Apr 29, 2016 at 4:07 AM Uwe Reh wrote: > Hi, > &g

Trouble getting "langid.map.individual" setting to work in Solr 5.0.x

2015-08-03 Thread David Smith
t the language, it is using field a AND b. But I can’t quite tell from this output. Any insight appreciated. Regards, David

collection mbeans: requests

2015-08-04 Thread David Santamauro
e 77 -- requests: 14 node 78 -- requests: 12 I imagine I'm seeing the internal cross-talk between nodes and if so, how can one reliably keep stats on the number of "real" requests? thanks David

Re: collection mbeans: requests

2015-08-04 Thread David Santamauro
I have your suggested shards.qt set up in another collection for another reason but I'll do that redirect here as well, thanks for the confirmation. On 08/04/2015 10:45 AM, Shawn Heisey wrote: On 8/4/2015 5:19 AM, David Santamauro wrote: I have a question about how the stat 're

Hash of solr documents

2015-08-26 Thread david . davila
Hi, I have read in one post in the Internet that the hash Solr Cloud calculates over the key field to send each document to a different shard is indexed. Is this true? If true, is there any way to show this hash for each document? Thanks, David

Re: Hash of solr documents

2015-08-26 Thread david . davila
.apache.solr.common.cloud.ZkStateReader$2; A cluster state change: WatchedEvent state:Syn cConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 4) Thanks, David De: Anshum Gupta Para: "solr-user@lucene.apache.org" , Fecha: 26/08/2015

Re: collection API timeout

2015-11-04 Thread Julien David
I forgot to mention that we are using Solr 4.9.0 and zookeeper 3.4.6 Thanks Julien Le 04/11/2015 11:37, Julien DAVID - Decalog a écrit : Hi all, We have a production environment composed by 6 solrcloud server and 3 zookeeper. We've got around 30 collections, with 6 shards each. We rec

Re: collection API timeout

2015-11-05 Thread Julien David
Seems I'ill need to upgrade to 5.3.1 It is possible to upgrade from 4.9 to 5.3 or do I need deploy all intermediate versions? Thks

Re: Arabic analyser

2015-11-11 Thread David Murgatroyd
zy-name-matching-in-solr for a talk I gave at the San Francisco Solr Meet-up in April on how it plugs in to Solr by creating a special field type you can query just like any other; this was also presented at Lucene/Solr Revolution last month ( http://lucenerevolution.org/sessions/simple-fuzzy

Re: Boosting by calculated distance buckets

2015-02-14 Thread David Smiley
: &boost=recip(geodist(),1,20,20) ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley sraav wrote > I hit a block when I ran into a use case where I had to boost on ranges of > distances calculated at query time. This is the

Re: Boosting by calculated distance buckets

2015-02-17 Thread David Smiley
lculated as many times as you reference the function, and it's slow. So you may want to write your own function query (internally called a ValueSource), which is relatively easy to do in Solr. ~ David sraav wrote > David, > > Thank you for your prompt response. I truly appreciate i

Problem with queries that includes NOT

2015-02-25 Thread david . davila
think the problem is the combination of the bracket positions and the NOT tag. This second problem is less important, but the queries comes from a web page and I'd have to change it, so I need to know if the problem is Solr or not. This is the part of the scheme that applies: Thank you very much, David Dávila DIT - 915828763

Re: Problem with queries that includes NOT

2015-02-25 Thread david . davila
Hi Shawn, thank you for your quick response. I will read your links and make some tests. Regards, David Dávila DIT - 915828763 De: Shawn Heisey Para: solr-user@lucene.apache.org, Fecha: 25/02/2015 13:23 Asunto: Re: Problem with queries that includes NOT On 2/25/2015 4:04 AM

Re: Problem with queries that includes NOT

2015-02-26 Thread david . davila
Hi, I thought that we were using the edismax query parser, but it seems that we had configured the dismax parser. I have made some tests with the edismax parser and it works fine, so I'll change it in our production Solr. Regards, David Dávila DIT - 915828763 De: Alvaro Cabr

Re: Solr join + Boost in single query

2015-03-03 Thread David Smiley
No, not without writing something custom anyway. It'd be difficult to make it fast if there's a lot of documents to join on. sraav wrote > David, > > Is it possible to write a query to join two cores and either bring back > data from the two cores or to boost on the data c

Re: Price Range Faceting Based on Date Constraints

2015-05-21 Thread David Smiley
Another more modern option, very related to this, is to use DateRangeField in 5.0. You have full 64 bit precision. More info is in the Solr Ref Guide. If Alessandro sticks with RPT, then the best reference to give is this: http://wiki.apache.org/solr/SpatialForTimeDurations ~ David https

fq and defType

2015-06-01 Thread david . davila
much, David Dávila Atienza DIT Teléfono: 915828763 Extensión: 36763

Re: fq and defType

2015-06-01 Thread david . davila
Thank you! David De: Shawn Heisey Para: solr-user@lucene.apache.org, Fecha: 01/06/2015 18:53 Asunto: Re: fq and defType On 6/1/2015 10:44 AM, david.dav...@correo.aeat.es wrote: > I need to parse some complicated queries that only works properly with the > edismax query pars

Looking for help in building a configuration that should be simple

2015-06-02 Thread David Patterson
I've been asked to build a sample configuration of SolrCloud using Solr 4.10. I want to have two instances (virtual machines) each with two solr nodes. Let's call the instances 1 and 2, and the nodes 1AO, 1BB, 2AB, and 2BO. I want 1AO to be the owner of that shard with 2AB as the backup, and 2BO

Could not find configName for collection client_active found:nul

2015-06-03 Thread David McReynolds
I’m helping someone with this but my zookeeper experience is limited (as in none). They have purportedly followed the instruction from the wiki. https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble Jun 02, 2015 2:40:37 PM org.apache.solr.common.cloud.Zk

How important is the name of the data collection?

2015-06-08 Thread David Patterson
I'm trying to make two virtual machines, each with one 4.10 SOLR-cloud code instance, connected to the same external Zookeeper site. I want to create one data collection with one shard on each of these two machines. If I use the "start" method as described in the Apache Solr Reference Guide for m

Re: Highlighting phone numbers

2016-05-18 Thread David Smiley
creen. You might have to develop custom analysis components (e.g. custom TokenFilter) if the offsets aren't what you want. Good luck, ~ David On Wed, May 18, 2016 at 9:07 AM marotosg wrote: > Hi, > > I have a solr multivalued field with a list of phone numbers with many > di

Re: Facet heatmaps: cluster coordinates based on average position of docs

2016-05-18 Thread David Smiley
Sorry for such a belated response; I don't monitor this list as much as I used to. My response is within... On Wed, Apr 20, 2016 at 4:28 AM Anton K. wrote: > Thanks for your answer, David, and have a good vacation. > > It seems more detailed heatmap is not a goods solution in my

Re: Issues with coordinates in Solr during updating of fields

2016-06-13 Thread David Smiley
that field type in the schema. e.g. if you don't need it for filtering (perhaps using RPT for that) then you can set indexed=false. ~ David On Fri, Jun 10, 2016 at 8:43 PM Zheng Lin Edwin Yeo wrote: > Would like to check, what is the use of the gps_0_coordinate and > gps_1_coordinate

Re: json facet - date range & interval

2016-06-28 Thread David Santamauro
Have you tried %-escaping? json.facet = { daterange : { type : range, field : datefield, start : "NOW/DAY%2D10DAYS", end : "NOW/DAY", gap : "%2B1DAY" } } On 06/28/2016 01:19 PM, Jay Potharaju wrote: json.facet={daterange

Re: error rendering solr spatial in geoserver

2016-06-29 Thread David Smiley
For polygons in 6.0 you need to set spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" -- see https://cwiki.apache.org/confluence/display/solr/Spatial+Search and the example. And of course as you probably already know, put the JTS jar on Solr's classpath. What

Re: error rendering solr spatial in geoserver

2016-07-01 Thread David Smiley
Sorry, good point Era; I forgot about that. I filed an issue: https://issues.apache.org/jira/browse/SOLR-9270 When I work on that I'll add an upgrading note to the 6x section. ~ David On Wed, Jun 29, 2016 at 6:31 AM Ere Maijala wrote: > It would have been _really_ nice if this had bee

Re: analyzer for _text_ field

2016-07-15 Thread David Santamauro
The opening and closing single quotes don't match -data-binary '{ ... }’ it should be: -data-binary '{ ... }' On 07/15/2016 02:59 PM, Steve Rowe wrote: Waldyr, maybe it got mangled by my email client or yours? Here’s the same command:

Re: error indexing spatial

2016-07-25 Thread David Smiley
Hi tig. Most likely, you didn't repeat the first point as the last. Even though it's redundant, nonetheless this is what WKT (and some other spatial formats) calls for. ~ David On Wed, Jul 20, 2016 at 10:13 PM tkg_cangkul wrote: > hi i try to indexing spatial format to solr 5.5.0

Re: Need Help Resolving Unknown Shape Definition Error

2016-08-15 Thread David Smiley
cally geo=true and you get the typical decimal degree +/- 180, +/- 90 box. But if you set false then the grid system needs to know the extent of your grid. ~ David On Thu, Aug 11, 2016 at 4:04 PM Jennifer Coston < jennifer.cos...@raytheon.com> wrote: > > Hello, > > I am tryin

Re: Sorting on DateRangeField?

2016-09-09 Thread David Smiley
s to skin this cat, so to speak. ~ David On Wed, Sep 7, 2016 at 1:49 PM Alexandre Rafalovitch wrote: > So, I tried sorting on a DateRangeField. And I got back: "Sorting not > supported on SpatialField: release_date, instead try sorting by > query." > > Two questions:

Re: script to get core num docs

2016-09-19 Thread David Santamauro
https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API wget -O- -q \ '/admin/cores?action=STATUS&core=coreName&wt=json&indent=true' \ | grep numDocs // /admin/cores?action=STATUS&core=alexandria_shard2_replica1&wt=json&indent=1'|grep numDocs|cut -f2 -d':'| On 09/19/2016 11:22

Re: request SOLR - spatial field with Intersect and Contains functions

2016-09-19 Thread David Smiley
installation 5.x version, RptWithGeometrySpatialField may not be available in which case settle for solr.SpatialRecursivePrefixTreeFieldType. When you do a search, it'd be a search for one field OR the other with the requirements you have for each. ~ David On Mon, Sep 19, 2016 at 8:48 AM Leo B

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread David Smiley
It should, I think... what happens? Can you ascertain the nature of the results? ~ David On Tue, Sep 20, 2016 at 5:35 AM Sandeep Khanzode wrote: > For Solr 6.1.0 > This works .. -{!field f=schedule op=Intersects}2016-08-26T12:00:56Z > > This works .. {!field f=schedule op=Conta

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread David Smiley
quot;: "json", "_": > "1474373612202" } }, "error": { "msg": "Invalid Date in Date Math > String:'[2016-08-26T12:00:12Z'", "code": 400 }} > SRK > > On Tuesday, September 20, 2016 5:34 PM, David Smiley

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread David Smiley
ch up. > Thanks a lot ... SRK > > Show original message On Tuesday, September 20, 2016 5:54 PM, David > Smiley wrote: > > > OH! Ok the moment the query no longer starts with "{!", the query is > parsed by defType (for 'q') and will default to

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread David Smiley
ps://cwiki.apache.org/confluence/display/solr/Working+with+Dates "More DateRangeField Details" mentions "op". {!lucene df=dateRange op=Contains}... would also work. I don't know of any other local-param used in this way. On Tue, Sep 20, 2016 at 11:21 PM David Smiley

Re: Removing SOLR fields from schema

2016-09-22 Thread David Santamauro
On 09/22/2016 08:55 AM, Shawn Heisey wrote: On 9/21/2016 11:46 PM, Selvam wrote: We use SOLR 5.x in cloud mode and have huge set of fields. We now want to remove some 50 fields from Index/schema itself so that indexing & querying will be faster. Is there a way to do that without losing existin

Re: how to remove duplicate from search result

2016-09-27 Thread David Santamauro
Have a look at https://cwiki.apache.org/confluence/display/solr/Result+Grouping On 09/27/2016 11:03 AM, googoo wrote: hi, We want to provide remove duplicate from search result function. like we have below documents. id(uniqueKey) guid doc1G1 doc2G2

Re: Migrating to Solr 6.1.0 from 5.5.0

2016-09-29 Thread David Smiley
tribute was already set for this to work at all in 5.5? The package reference changed for this value -- I imagine you would have seen a warning/error to this effect in Solr's logs. Do you? ~ David On Tue, Sep 27, 2016 at 10:29 AM William Bell wrote: > the documentation is not good on this

Re: Heatmap in JSON facet API

2016-11-01 Thread David Smiley
I plan on adding this in the near future... hopefully for Solr 6.4. On Mon, Oct 31, 2016 at 7:06 AM Никита Веневитин wrote: > I've built query as described in https://cwiki.apache.org/confluence/x/ZYDxAQ";>Heatmap Faceting, > but I would like to get same results using JSON facet API > > 2016-10-

How-To: Secure Solr by IP Address

2016-11-04 Thread David Smiley
someone can do. note: I originally tried inserting the IPAccessHandler in server/contexts/solr-jetty-context.xml but found that there's a bug in IPAccessHanlder that fails to consider when HttpServletRequest.getPathInfo is null. And it wound up letting everything through (if I recall). But I like it

Re: How-To: Secure Solr by IP Address

2016-11-04 Thread David Smiley
Not to knock the other suggestions, but a benefit to securing Jetty like this is that *everyone* can do this approach. On Fri, Nov 4, 2016 at 9:54 AM john saylor wrote: > hi > > any firewall worth it's name should be able to do this. in fact, that is > one of several things that a firewall was d

Re: Aggregate Values Inside a Facet Range

2016-11-04 Thread David Santamauro
I believe your answer is in the subject => facet.range https://cwiki.apache.org/confluence/display/solr/Faceting#Faceting-RangeFaceting // On 11/04/2016 02:25 PM, Furkan KAMACI wrote: I have documents like that id:5 timestamp:NOW //pseudo date representation count:13 id:4 timestamp:NOW //p

Re: Overlapped Gap Facets

2016-11-17 Thread David Santamauro
I had a similar question a while back but it was regarding date differences. Perhaps that might give you some ideas. http://lucene.472066.n3.nabble.com/date-difference-faceting-td4249364.html // On 11/17/2016 09:49 AM, Furkan KAMACI wrote: Is it possible to do such a facet on a date field

Adding a Basic Authentication user fails with 404

2017-06-06 Thread David Parker
Hello, I am running a stand-alone instance of Solr 6.5 (without ZooKeeper). I am attempting to implement Basic Authentication per the documentation, but when I try to use the API to add a user, I get a 404 error. It seems the /admin/authentication API entry point isn't there: $ curl --user solr

Re: Score higher if multiple terms match

2017-06-07 Thread David Hastings
well, short answer, use the analyzer to see whats happening. long answer theres a difference between name:tv promotion --> name:tv default_field:promotion name:"tv promotion" --> name:"tv promotion" name:tv AND name:promotion --> name:tv AND name:promotion since your default field most lik

Re: Score higher if multiple terms match

2017-06-07 Thread David Hastings
sorry, i meant debug query where you would get output like this: "debug": { "rawquerystring": "name:tv promotion", "querystring": "name:tv promotion", "parsedquery": "+name:tv +text:promotion", On Wed, Jun 7,

Re: Score higher if multiple terms match

2017-06-08 Thread David Hastings
> > > >> >> Thanks. > >> >> Both of these are working in my case: > >> >> name:"tv promotion" --> name:"tv promotion" > >> >> name:tv AND name:promotion --> name:tv AND name:promotion > >> >

Re: Highlighter not working on some documents

2017-06-11 Thread David Smiley
Probably the most common reason is the default hl.maxAnalyzedChars -- thus your highlightable text might not be in the first 51200 chars of text. The first Solr release with the unified highlighter had an even lower default of 10k chars. On Fri, Jun 9, 2017 at 9:58 PM Phil Scadden wrote: > Trie

Re: Swapping indexes on disk

2017-06-14 Thread David Hastings
I dont have an answer to why the folder got cleared, however i am wondering why you arent using basic replication to do this exact same thing, since solr will natively take care of all this for you with no interruption to the user and no stop/start routines etc. On Wed, Jun 14, 2017 at 2:26 PM, Mi

Re: Issue with highlighter

2017-06-14 Thread David Smiley
> Beware of NOT plus OR in a search. That will certainly produce no highlights. (eg test -results when default op is OR) Seems like a bug to me; the default operator shouldn't matter in that case I think since there is only one clause that has no BooleanQuery.Occur operator and thus the OR/AND sho

how to leave the mailing list? eof

2017-06-19 Thread david fernandes

Re: How are people using the ICUTokenizer?

2017-06-20 Thread David Hastings
Have you successfully used the shingles with the MoreLikeThis query? Really curious about if this would to return the "interesting Phrases" On Tue, Jun 20, 2017 at 12:01 PM, Davis, Daniel (NIH/NLM) [C] < daniel.da...@nih.gov> wrote: > Joel, > > I think the issue is doing word-breaking according t

Re: Polygon search query working but NOT Multipolygon

2017-06-28 Thread David Smiley
ctory.html <https://locationtech.github.io/spatial4j/apidocs/org/locationtech/spatial4j/context/jts/JtsSpatialContextFactory.html> are reflected as attributes on the field type, thus you can set say useJtsMulti="false" to change the 'multi implementation. ~ David > On

Re: Polygon search query working but NOT Multipolygon

2017-06-28 Thread David Smiley
ever quite said what it was about the results that was wrong. Did you get hits you didn't expect (I'm guessing yes) or the inverse? ~ David > On Jun 28, 2017, at 10:55 AM, puneeta wrote: > > Hi David, > Thank you for the prompt reply. My field definition in schema.xml is

Re: Solr 5.5 - spatial intersects query returns results outside of search box

2017-06-28 Thread David Smiley
> On Jun 27, 2017, at 3:28 AM, Leila Gonzales wrote: > > { > >"id": "5230", > >"location_geo": > ["ENVELOPE(-75.0,-75.939723,39.3597224,38.289722)"] > > } This is an unusual rectangle. Remember this is minX, maxX, maxY, minY. Thus this rectangl

Re: Solr 5.5 - spatial intersects query returns results outside of search box

2017-06-28 Thread David Smiley
No prob. BTW you may want to investigate use of BBoxField or RptWithGeometrySpatialField; both are also more accurate... but vanilla RPT may be just fine (fastest). > On Jun 28, 2017, at 11:32 AM, Leila Gonzales wrote: > > Thanks David! I fixed the coordinates and put some error ch

Re: Polygon search query working but NOT Multipolygon

2017-06-28 Thread David Smiley
https://lucene.apache.org/solr/guide/6_6/spatial-search.html#SpatialSearch-RptWithGeometrySpatialField <https://lucene.apache.org/solr/guide/6_6/spatial-search.html#SpatialSearch-RptWithGeometrySpatialField> > On Jun 28, 2017, at 11:32 AM, puneeta wrote: > > Hi David, > I a

Re: Spatial Search based on the amount of docs, not the distance

2017-06-28 Thread David Smiley
Solr. I might approach it a bit differently now. ~ David > On Jun 22, 2017, at 8:34 PM, Tim Casey wrote: > > deniz, > > I was going to add something here. The reason what you want is probably > hard to do is because you are asking solr, which stores a document, to > r

Re: Polygon search query working but NOT Multipolygon

2017-06-28 Thread David Smiley
This polygon is fairly rectangular with one side having a ton of points. Nonetheless the query point is clearly far apart from it (it's much lower (smaller 'y' dimension). On Wed, Jun 28, 2017 at 10:17 PM puneeta wrote: > Hi David, > Actually my polygon had too many c

Re: Not highlighting "and" and "or"?

2017-06-28 Thread David Smiley
Hi Walter, No they are not. Does debug=query show that these words are in your parsed query? On Wed, Jun 28, 2017 at 5:13 PM Walter Underwood wrote: > Is there some special casing in the highlighter to skip query syntax > words? The words “and” and “or” don’t get highlighted. > > This is in 6.5

  1   2   3   4   5   6   7   8   9   10   >