Re: Terms not being indexed; not sure why

2017-05-18 Thread Erick Erickson
The Solr Admin UI has the "LukeRequestHandler" behind it not Luke. The Luke stand-alone program is a different beast, although the LukeRequestHandler is modeled after _some_ features of Luke. The naming lends itself to some confusion for sure. Best, Erick On Thu, May 18, 2017 at 7:11 PM,

Re: Terms not being indexed; not sure why

2017-05-18 Thread Rick Leir
Erick, In the Solr Admin UI, click on tabs and watch the log. The Analysis tab seems to have Luke behind it, and one other. But the screen layout seems different from the stand-alone Luke. I plan to give Lukestandalone a try soon. cheers -- Rick On 2017-05-16 10:44 AM, Erick Erickson

Re: Slow Bulk InPlace DocValues updates

2017-05-18 Thread Damien Kamerman
Adding more shards will scale your writes. On 18 May 2017 at 20:08, Dan . wrote: > Hi, > > -Solr 6.5.1 > -SSD disk > -23M docs index 64G single shard > > I'm trying to do around 4M in-place docValue updates to a collection > (single shard or around 23M docs) [these are ALL

Data Dir from a core with init-failure

2017-05-18 Thread Shashank Pedamallu
Hi all, Question: I would like to know what is the reliable way to fetch dataDir (and instanceDir) of a core that has an init failure. Trials made: I used the admin api to get status:

Upgrading Similarity from Solr 4.x to 6.x

2017-05-18 Thread Lynn Monson
I have a question about moving a trivial (?) Similarity class from version 4.x to 6.x I have queries along these lines: field1:somevalue^0.55 field2:anothervalue^1.4 The score for a document is simply the sum of weights. A hit on field1 alone scores 0.55. Field2 alone scores 1.4. Both fields

Custom RequestHandler with the Solr api (solrj) that makes a query call back to the server

2017-05-18 Thread Jack Java
Hi, I'm looking for some advice on specific issue that is holding us back. I'm trying to create a custom RequestHandler with the Solr api (solrj) that makes a query call back to the server. I'm not finding any good, run-able examples on-line. Possibly I'm approaching this wrong. Any advice would

Re: Custom RequestHandler with the Solr api (solrj) that makes a query call back to the server

2017-05-18 Thread Chris Yee
Reformatting for readability: Hi, I'm looking for some advice on specific issue that is holding us back. I'm trying to create a custom RequestHandler with the Solr api (solrj) that makes a query call back to the server. I'm not finding any good, run-able examples of this on-line. Possibly I'm

Custom RequestHandler with the Solr api (solrj) that makes a query call back to the server

2017-05-18 Thread Jack Java
Hi,I'm looking for some advice on specific issue that is holding usback. I'mtrying to create a custom RequestHandler with the Solr api (solrj)that makes a query call back to the server. I'mnot finding any good, run-able examples of this on-line. Possibly I'mapproaching this wrong. Any advice

Re: knowing which fields were successfully hit

2017-05-18 Thread Dan .
Hi, What about a function query in the field list. e.g. for: field.x field.y http://? q={!type=dismax qf='field.x field.y' v=$qq) =solr rocks =id,score,x_score:query({!type=dismax qf='field.x' v=$qq}),y_score:query({!type=dismax qf='field.y' v=$qq}) Hit is x_score or y_score > 0 Note that

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-18 Thread gigo314
Thanks a lot. I didn't think of switching to application/x-www-form-urlencoded content type. It solved my issue :) -- View this message in context: http://lucene.472066.n3.nabble.com/cursorMark-value-causes-Request-URI-Too-Long-excpetion-tp4335472p4335691.html Sent from the Solr - User mailing

Re: Solr Atomic Document update Conditional

2017-05-18 Thread Dan .
Hi, Why not write a custom UpdateRequestProcessor if it's a special case from the norm then place it in it's own chain and do update like http:// .../update/json?= Cheers, Dan On 18 May 2017 at 09:05, Aman Deep Singh wrote: > Hi , > Is their any way to do

Re: Solr Atomic Document update Conditional

2017-05-18 Thread Aman Deep Singh
Hi Shawn, Solr optimistic concurrency is worked fine only for 1 field But in my case two or more field can be updated at a same time But one field can not be updated if its corresponding timestamp is greater than request time On 18-May-2017 6:15 PM, "Shawn Heisey" wrote:

solr 5.5.2 bug in edismax pf2 when boosting term

2017-05-18 Thread elisabeth benoit
Hello, I am using solr 5.5.2. I am trying to give a lower score to frequent words in query. The only way I've found so far is to do like q=avenue^0.1 de champaubert village suisse 75015 paris where avenue is a frequent word. The problem is I'm using edismax, and when I add ^0.1 to avenue, it

Re: Solr Atomic Document update Conditional

2017-05-18 Thread Shawn Heisey
On 5/18/2017 2:05 AM, Aman Deep Singh wrote: > Is their any way to do the SOLR atomic update based on some condition > Suppose in my SOLR schema i have some fields > >1. field1 >2. field2 >3. field1_timestamp >4. field2_timestamp > > Now i have to update value of field1 only if

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-18 Thread Shawn Heisey
On 5/18/2017 1:52 AM, gigo314 wrote: > Thanks, that was my assumption as well that all parameters should are > supported by both GET and POST. However, when using JSON API I keep getting > 400 error code: > > /Request/: > {"query":"*","cursorMark":"*","sort":"id asc"} > > /Response/: >

Slow Bulk InPlace DocValues updates

2017-05-18 Thread Dan .
Hi, -Solr 6.5.1 -SSD disk -23M docs index 64G single shard I'm trying to do around 4M in-place docValue updates to a collection (single shard or around 23M docs) [these are ALL in-place updates] I can add the updates in around 7mins, but flushing to disk takes around 40mins! I've been able to

Solr Atomic Document update Conditional

2017-05-18 Thread Aman Deep Singh
Hi , Is their any way to do the SOLR atomic update based on some condition Suppose in my SOLR schema i have some fields 1. field1 2. field2 3. field1_timestamp 4. field2_timestamp Now i have to update value of field1 only if field1_timestamp is less then the provided timestamp I

Re: cursorMark value causes Request-URI Too Long excpetion

2017-05-18 Thread gigo314
Thanks, that was my assumption as well that all parameters should are supported by both GET and POST. However, when using JSON API I keep getting 400 error code: /Request/: {"query":"*","cursorMark":"*","sort":"id asc"} /Response/:

RE: Performance warning: Overlapping onDeskSearchers=2 solr

2017-05-18 Thread Srinivas Kashyap
Hi, We have not set the autosoftcommit in solrcofig.xml. The only commit we are doing is through DIH(assuming it commits after the import). Also we have written timely schedulers to check if any records/documents is updated in database and to trigger the re-index of solr on those updated

RE: Performance warning: Overlapping onDeskSearchers=2 solr

2017-05-18 Thread Srinivas Kashyap
Hi, We have not set the autosoftcommit in solrcofig.xml. The only commit we are doing is through DIH(assuming it commits after the import). Also we have written timely schedulers to check if any records/documents is updated in database and to trigger the re-index of solr on those updated

Re: setup solrcloud from scratch vie web-ui

2017-05-18 Thread Thomas Porschberg
> Shawn Heisey hat am 17. Mai 2017 um 15:10 geschrieben: > > > On 5/17/2017 6:18 AM, Thomas Porschberg wrote: > > Thank you. I am now a step further. > > I could import data into the new collection with the DIH. However I > > observed the following exception > > in