Invoking an updateRequestProcessorChain from updateHandler

2011-12-06 Thread Jan
cute: ... 10 360 uima ... Can anyone help me out here? Does what I'm trying to do even make sense from a Solr perspective? I have already viewed the Solr Wiki entry for solrconfig.xml http://wiki.apache.org/solr/SolrConfigXml#Update_Handler_Section here . Thank you, Jan

Highlighting Inconsistency

2010-02-13 Thread Jan
that is causing the issue? I've attached the 2 csv documents that I'm using and below are the relevant sections from schema.xml. I'm using solr release 1.4. Thanks! Jan. ---SCHEMA.XML relevant entries:

Re: Highlighting Inconsistency

2010-02-13 Thread Jan
> > I am > > having some issues with making the highlighting work > > properly. If I search for a word in a "title" > > field and request a highlighted summary from another > > "long_description" field, this works on some > > documents, but on some doesn't. Have you seen anything > > like this bef

Re: Highlighting Inconsistency

2010-02-13 Thread Jan
> Then we should confirm that long_description really contains term terminator. > > What is numFound when you execute this query? > > http://localhost:8983/solr/select?q=long_description:terminator&fl=sku,title,long_description&hl=true&hl.fl=long_description&fq=sku:10699058 The response is:

Re: Highlighting Inconsistency

2010-02-13 Thread Jan
> > Interesting there is a parameter (hl.requireFieldMatch) about this but > default > value is false. Interesting indeed! I have tried setting hl.requireFieldMatch manually to false before - but no luck. > > Are you using some default highlighting parameters defined in solrconfig.xml? > Y

Re: Highlighting Inconsistency

2010-02-13 Thread Jan
> > I mean solr's Http caching. When testing from browser I usually disable it > with > in solrconfig.xml. I have enabled , changed the title field to be the same "text" type, cleared the index, restarted and re-indexed and - it works! I then changed the title field back to the "text" type

Highlighting and field types

2010-02-15 Thread Jan
terminator&hl=true&hl.fl=description) Shouldn't the query parser use the analysers of the specified field in "hl.fl" on which we are about to do highlighting? Jan.

Re: highlighting fragments EMPTY

2010-02-19 Thread Jan
All of your fields seem to be of a "string" type, that's why the highlighting doesn't work. The highlighting fields must be tokenized before you can do the highlighting on them. Jan. --- On Fri, 2/19/10, adeelmahmood wrote: From: adeelmahmood Subject: highlightin

Re: Security Problems

2015-12-17 Thread Jan Høydahl
Anyone cannot just go "INSERT foo INTO bar” on a random MySql server in the data room, so why should Solr be less secure once Auth is enabled? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. des. 2015 kl. 17.02 skrev Noble Paul : > > I don'

Re: solr-5.3.1 admin console not show properly

2016-01-13 Thread Jan Høydahl
Which brand and version of Java have you installed? Looks like you run Solr as root? Should work, but not recommended. Try installing and running as an ordinary user. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 13. jan. 2016 kl. 17.01 skrev David Cao : >

Re: How to configure authentication in windows start script?

2016-01-14 Thread Jan Høydahl
Hi, You can contribute to this JIRA issue: https://issues.apache.org/jira/browse/SOLR-8048 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 14. jan. 2016 kl. 13.02 skrev Kristine Jetzke > : > >> >> In the Linux scrip

Re: solr-5.3.1 admin console not show properly

2016-01-14 Thread Jan Høydahl
Very strange, a fresh install should run without issues. Perhaps Uwe Schindler can comment on any known bugs in your IBM J9? If I were you I’d try the following * Install Oracle Java 8 or OpenJDK 8 and set JAVA_HOME accordingly * Download Solr 5.4.0 * Unpack and start Solr as before -- Jan

Re: solr-5.3.1 admin console not show properly

2016-01-14 Thread Jan Høydahl
TH environment variables are ignored, so the only place to mess things up would be if IBM VM somehow includes servlet-api 2.4 before Solr’s own 3.1 version. That’s why it would be interesting to try with Oracle Java. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jan Høydahl
Hi Please look at my github repo with a template for a field type allowing exact match. Typical use is with disMax query parser and the “pf” param. See https://github.com/cominvent/exactmatch -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 28. jan. 2016 kl. 10

Re: implement exact match for one of the search fields only?

2016-01-28 Thread Jan Høydahl
Depends on what exactly you try to do. I think the Github README explains in what situations my solution excels. Especially if you do not have control over the client application, you simply get a q=foo, then such a setup will allow you to boost exact matches very easily. -- Jan Høydahl

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Jan Høydahl
Hi Did you try? Sadly, the pf param will not apply to a non-analyzed field, and is not added if query consists of one term only. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 29. jan. 2016 kl. 11.14 skrev Alessandro Benedetti : > > Jan sorry If i insi

Re: implement exact match for one of the search fields only?

2016-01-29 Thread Jan Høydahl
Derek, the link is not available to the public. Did you restart and re-index after changing the field type? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 29. jan. 2016 kl. 04.21 skrev Derek Poh : > > Hi Erick and all > > Yes I am trying to apply

Re: implement exact match for one of the search fields only?

2016-01-31 Thread Jan Høydahl
more tricky. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 29. jan. 2016 kl. 15.50 skrev Alessandro Benedetti : > > Still not following. > Why you would like to use pf for exact search ( which is different from > phrase search) ? > Let&

Re: Nested documents and many-many relation

2016-02-02 Thread Jan Høydahl
The new Parallell SQL feature of 6.0? Also query-time on top of streaming, don’t know performance... -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 1. feb. 2016 kl. 07.37 skrev Sathyakumar Seshachalam > : > > Thanks, query time joins are not an o

Re: Tesseract command-line OCR engine has stopped working

2016-02-10 Thread Jan Høydahl
://github.com/tesseract-ocr/tesseract/wiki/Downloads - and perhaps newer version of Tika. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 8. feb. 2016 kl. 16.22 skrev Zheng Lin Edwin Yeo : > > Has anyone experienced this before during indexing of EML files? >

Re: both way synonyms with ManagedSynonymFilterFactory

2016-02-22 Thread Jan Høydahl
will actually match :-) I think what we need is to switch default to expand=true, and make it configurable also in the managed factory. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 11. feb. 2016 kl. 10.16 skrev Bjørn Hjelle : > > Hi, > > one-way m

Re: both way synonyms with ManagedSynonymFilterFactory

2016-02-25 Thread Jan Høydahl
Created https://issues.apache.org/jira/browse/SOLR-8737 to handle this -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 22. feb. 2016 kl. 11.21 skrev Jan Høydahl : > > Hi > > Did you get any Further with this? > I reproduced your situation with So

Re: (Solr 5.5) How do beginners modify dynamic schema now that it is default?

2016-02-25 Thread Jan Høydahl
in a schema xml fragment, and auto convert it to the corresponding REST JSON command to add. That way, people can have a tool to quickly convert old field types they may have into curl commands… Also support in UI to edit all of this would also be handy. -- Jan Høydahl, search solution

Re: New comer - Benoit Vanalderweireldt

2016-02-25 Thread Jan Høydahl
feedback and iterate until it is ready for commit. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 26. feb. 2016 kl. 00.34 skrev Benoit Vanalderweireldt : > > Dear solr users community, > > I have just joined this mailing list, I would love to contribute to

Re: Deleting by query

2016-02-26 Thread Jan Høydahl
Hi Try this instead /solr/de/update?stream.body=last_seen:[* TO 2016-02-24T00:00:00Z]&commit=true …that is if you have streaming enabled in solrconfig. Else do a POST instead Note that I put a commit=true at the end, so you will see the changes immediately. -- Jan Høydahl, search solu

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Jan Høydahl
ents you download elsewhere. But most of the bundled stuff you read about in the RefGuide is already integrated, ready to use. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 29. feb. 2016 kl. 09.20 skrev jimi.hulleg...@svensktnaringsliv.se: > > Th

Re: ExtendedDisMax configuration nowhere to be found

2016-03-01 Thread Jan Høydahl
We have a huge backlog of stale wiki.apache.org pages which should really just point to the refGuide. I replaced the eDisMax and DisMax pages with a simple link to the ref guide, since they do not provide any added value. -- Jan Høydahl, search solution architect Cominvent AS

Re: both way synonyms with ManagedSynonymFilterFactory

2016-03-01 Thread Jan Høydahl
Thanks for reporting! -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 1. mar. 2016 kl. 13.31 skrev Bjørn Hjelle : > > Thanks a lot for following up on this and creating the patch! > > On Thu, Feb 25, 2016 at 2:49 PM, Jan Høydahl wrote: >

Re: Pull request protocol question

2016-03-01 Thread Jan Høydahl
Hi, Yes, the GitHub repo changed when we switched from svn to git, and you did the right thing. Please see http://lucene.apache.org/solr/news.html#8-february-2016-apache-lucenesolr-development-moves-to-git -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 1.

Re: facet on two multi-valued fields

2016-03-02 Thread Jan Høydahl
solution could be to use child documents. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 2. mar. 2016 kl. 17.30 skrev Andreas Hubold : > > Hi, > > my schema looks like this > > > multiValued="true"/> > stored="false"

Re: Currency field doubts

2016-03-02 Thread Jan Høydahl
the exchange rates from Google individually and redundantly. Wrt returning several currencies in fl, try &fl=INR:currency(mrp,INR) USD:currency(mrp,USD) EUR:currency(mrp,EUR) It will return two new fields (the name before the colon is the alias). -- Jan Høydahl, search solution archi

Re: facet on two multi-valued fields

2016-03-03 Thread Jan Høydahl
Hi, BlockJoin with Parent/Child is your solution. See http://yonik.com/solr-nested-objects/ and https://cwiki.apache.org/confluence/display/solr/BlockJoin+Faceting -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 3. mar. 2016 kl. 10.35 skrev Andreas Hubold : >

Re: Separating cores from Solr home

2016-03-04 Thread Jan Høydahl
There is also the more clean solution in https://issues.apache.org/jira/browse/SOLR-6671 (not committed). -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 4. mar. 2016 kl. 15.38 skrev Shawn Heisey : > > On 3/3/2016 4:12 AM, Tom Evans wrote: >> I&

Re: indexing pdf files using post tool

2016-03-18 Thread Jan Høydahl
whatever fields you like. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. mar. 2016 kl. 08.18 skrev vidya : > > Sorry for conveying it in wrong way. I want my data of 1 pdf file to be > indexed with different fields in a document of solr according to data

Re: Solr:Skip document from indexing when it matches specific value

2016-03-18 Thread Jan Høydahl
Hi No OOTB as I know, but it would be 3 lines to create a custom one, which simply aborts the chain instead of calling super.processAdd(command) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. mar. 2016 kl. 12.36 skrev solr2020 : > > Hi, > > Ho

Re: Why is multiplicative boost prefered over additive?

2016-03-19 Thread Jan Høydahl
You can also use functions to “compress” the source number, so that the effect of a certain boost becomes bigger or smaller compared to the other boost you have. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 17. mar. 2016 kl. 23.21 skrev Upayavira : >

Re: BYOPW in security.json

2016-04-06 Thread Jan Høydahl
LDAPAuthenticationProvider. I would not recommend adding such complexity to the existing json backed user list, although it has the benefit of beting 100% self contained. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 18. mar. 2016 kl. 23.30 skrev Oakley, Craig (NIH/NLM/NCBI)

Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Jan Høydahl
tokenized field. If what you are trying to achieve is to boost only when the whole query exactly matches the full content of the field, then have a look at my solution here https://github.com/cominvent/exactmatch -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 5. apr. 2

Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Jan Høydahl
is not very obvious, and could be better documented. Could perhaps also be useful with a new edismax parameter “pfMinClauseSize” to force pf on single-token without this workaround. But there could be good reasons for the original design choice here, that we don’t know about... -- Jan Høydahl

Re: BYOPW in security.json

2016-04-08 Thread Jan Høydahl
, rather than developing everything in-house and then dumping a huge patch. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 6. apr. 2016 kl. 16.46 skrev Davis, Daniel (NIH/NLM) [C] > : > > I'm bordering on development post, but I want to write an Authent

Solr - index polygons from csv

2016-04-22 Thread Jan Nekuda
t in distance. But I actually don't know in which units the distance is with this settings. Thank you very much Jan

Re: How can I set the defaultOperator to be AND?

2016-04-22 Thread Jan Høydahl
Hi Which query parser are you using? If using edismax yo may be hitting a recent bug concerning default operator and explicit boolean operators. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 22. apr. 2016 kl. 11.26 skrev Bastien Latard - MDPI AG > : >

Re: How can I set the defaultOperator to be AND?

2016-04-25 Thread Jan Høydahl
I think a workaround for your specific case could be to set mm=100% & q.op=OR (although it used to work for q.op=AND before) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 25. apr. 2016 kl. 14.53 skrev Shawn Heisey : > > On 4/25/2016 6:39 AM, Bastien

Re: Issues of deploying mutiple web applications to Solr Jetty

2016-05-09 Thread Jan Høydahl
separate one for your apps! -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 9. mai 2016 kl. 08.00 skrev t...@sina.com: > > Hi, > At present I try to deploy multiple web applications to Solr Jetty. So I add > context files for each web application u

Re: Get distinct results in Solr

2015-08-31 Thread Jan Høydahl
signature of the identical body text (https://cwiki.apache.org/confluence/display/solr/De-Duplication). -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 31. aug. 2015 kl. 12.03 skrev Zheng Lin Edwin Yeo : > > Hi, > > I'm using Solr 5.2.1, and I would li

Re: Could we merge solr logo into our logo?

2015-09-07 Thread Jan Høydahl
Can you send your request to the PMC at private@lucene.apache org ? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 5. sep. 2015 kl. 15.08 skrev Shi Jinghai : > > Hi there, > > We are integrating solr into our project (Apache OFBiz project). I’m not

Re: Indexing logs when using post,jar

2015-10-12 Thread Jan Høydahl
robustness checks, retries, SolrCloud awareness, multi threaded feeding etc, neither of which is present in SimplePostTool.java (post.jar). -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 12. okt. 2015 kl. 06.05 skrev Zheng Lin Edwin Yeo : > > Hi, > >

Re: Solr Pagination

2015-10-12 Thread Jan Høydahl
unless there is something very special about your usecase which justifies this as a usecase to focus much energy on. People just don’t page beyond page 10 :) and if they do you should focus on improving the relevancy first - unless you got a very special use case... -- Jan Høydahl, search

Re: Solr Pagination

2015-10-14 Thread Jan Høydahl
I have not benchmarked various number of segments at different sizes on different HW etc, so my hunch could very well be wrong for Salman’s case. I don’t know how frequent updates there is to his data either. Have you done #segments benchmarking for your huge datasets? -- Jan Høydahl, search

Re: Filtering on a Field with Suggestion

2015-10-16 Thread Jan Høydahl
Yesm Context filtering is a new feature in yet-to-be-released Solr5.4. So you have to build branch_5x from source yourself to try it out. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. okt. 2015 kl. 12.35 skrev Salman Ansari : > > Thanks for pointing

Re: Recursively scan documents for indexing in a folder in SolrJ

2015-10-16 Thread Jan Høydahl
will be posted to /update while office docs go to /update/extract -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. okt. 2015 kl. 05.22 skrev Zheng Lin Edwin Yeo : > > Hi, > > I understand that in SimplePostTool (post.jar), there is this command to

Re: Performance degradation with two collection on same sole instance

2015-10-30 Thread Jan Høydahl
You say you configure 20Gb heap. What is your total physical RAM on the host? What are your cache sizes for the two collections? If you have too high cache settings you may eat too much memory.. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 27. okt. 2015 kl. 20

Re: [CONF] Apache Solr Reference Guide > Result Grouping

2015-11-04 Thread Jan Høydahl
g/confluence/display/solr/Collapse+and+Expand+Results for more -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 3. nov. 2015 kl. 12.37 skrev Toke Eskildsen : > > On Tue, 2015-11-03 at 14:53 +0530, vishal raut wrote: >> I have indexed various videos

Re: Convert output response xml into input xml format using xslt

2015-11-10 Thread Jan Høydahl
It already ships with Solr. http://localhost:8983/solr/select?q=*:*&wt=xslt&tr=updateXml -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 9. nov. 2015 kl. 19.27 skrev davidphilip cherian > : > > Has anyone written a sample xslt (and would

Re: fl=value equals?

2015-11-10 Thread Jan Høydahl
could of course write a custom SearchComponent to construct your “b” parameter... -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 10. nov. 2015 kl. 23.52 skrev William Bell : > > We are trying to look at a value, and change another value based on that.

Re: Undo Split Shard

2015-11-17 Thread Jan Høydahl
Stop Solr. Then use zkcli - https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities You want to first do getfile for state.json, then modify it, then putfile to upload it again. Start Solr -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 17.

Re: Upgrading from 4.x to 5.x

2015-11-18 Thread Jan Høydahl
.x https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 18. nov. 2015 kl. 10.10 skrev Daniel Miller : > > Hi! > > I'm a very inexperienced user with Solr. I've b

Re: Security Problems

2015-11-18 Thread Jan Høydahl
/d18854c75461816fb947 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 18. nov. 2015 kl. 14.54 skrev Noble Paul : > > As of now the admin-ui calls are not protected. The static calls are > served by jetty and it bypasses the authentication mechanism > com

Re: Upgrading from 4.x to 5.x

2015-11-19 Thread Jan Høydahl
to/old/solr4/SOLR_HOME/dovecot . 4. Make sure there is a core.properties file in the dovecot folder 5. Start solr, and you should have your core up and running as before If you’re using SolrCloud and ZooKeeper there are other steps to follow. Jan

Re: Security Problems

2015-11-19 Thread Jan Høydahl
currently to protect all possible paths (except those served by Jetty)? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 18. nov. 2015 kl. 20.31 skrev Upayavira : > > I'm very happy for the admin UI to be served another way - i.e. not > direct from Jet

Re: Boost non stemmed keywords (KStem filter)

2015-11-19 Thread Jan Høydahl
Do you have a concept code for this? Don’t you also have to hack your query parser, e.g. dismax, to use other Query objects supporting payloads? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 18. nov. 2015 kl. 22.24 skrev Markus Jelsma : > > Hi - easiest

Re: Security Problems

2015-11-21 Thread Jan Høydahl
d are wide open -Dsolr.security.mode=authenticated : Paths not configured are open to any authenticated user -Dsolr.security.mode=explicit : Paths not configured are closed to all. All acccess is explicitly configured /Jan

Re: Security Problems

2015-12-14 Thread Jan Høydahl
> 1) "read" should cover all the paths This is very fragile. If all paths were closed by default, forgetting to configure a path would not result in a security breach like today. /Jan

Re: Security Problems

2015-12-15 Thread Jan Høydahl
is assigned the default “read” rule, and a collection adds a custom “/myselect” handler, that one is unavailable until the user gets it assigned -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 14. des. 2015 kl. 14.15 skrev Noble Paul : > > ". If all pat

Re: Unstemmed searching

2015-02-27 Thread Jan Høydahl
e discuss the option of deboosting certain token types (stems, synonyms etc) in https://issues.apache.org/jira/browse/LUCENE-3130 but that issue never resulted in anything. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 27. feb. 2015 kl. 22.13 skrev Markus Jelsma : &g

[Poll]: User need for Solr security

2015-03-12 Thread Jan Høydahl
t for your company to see supported in a future version of Solr. Examples: Local user management, AD/LDAP integration, SSL, authenticated login to Admin UI, authorization for Admin APIs, e.g. admin user vs read-only user etc -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com

Re: [Poll]: User need for Solr security

2015-03-12 Thread Jan Høydahl
If you cannot trust your root users you probably have bigger problems than with search... I think it has been suggested to encrypt on codec or directory level as well. Yep, here is the JIRA https://issues.apache.org/jira/browse/LUCENE-2228 :) -- Jan Høydahl, search solution architect Cominvent

Re: [Poll]: User need for Solr security

2015-03-16 Thread Jan Høydahl
r search component or query parser. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 13. mar. 2015 kl. 01.48 skrev johnmu...@aol.com: > > I would love to see record level (or even field level) restricted access in > Solr / Lucene. > > This should b

Re: /suggest through SolrJ?

2015-04-29 Thread Jan Høydahl
Alessandro, can you open a JIRA issue for this? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 27. apr. 2015 kl. 19.22 skrev Alessandro Benedetti > : > > Just had the very same problem, and I confirm that currently is quite a > mess to manage sugge

Re: Config API: delete-requesthandler

2016-05-25 Thread Jan Høydahl
Hi Have you tried adding all your commands to the same file? { "add-requesthandler":{"name":"/foo","class":"solr.SearchHandler"}, "add-requesthandler":{"name":"/bar","class":"solr.SearchHandler&q

Re: After Solr 5.5, mm parameter doesn't work properly

2016-05-30 Thread Jan Høydahl
Hi, This may be related to SOLR-8812, but still different. Please file a JIRA issue for this. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 29. mai 2016 kl. 18.20 skrev Issei Nishigata : > > Hi, > > “mm" parameter does not work properly,

Script to upgrade a Solr index from 4.x to 6.x

2016-06-01 Thread Jan Høydahl
with Solr 6.x or 7.x Usage: ./upgradeindex.sh [-s] Example: ./upgradeindex.sh /var/lib/solr Please run the tool only on a cold index (no Solr running) The script leaves a backup in //data/index_backup_.tgz. Use -s to skip backup Requires wget or curl to download dependencies -- Jan

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-01 Thread Jan Høydahl
ra/browse/SOLR-1889 and https://svn.apache.org/viewvc?view=revision&revision=950710 Jan

Re: Script to upgrade a Solr index from 4.x to 6.x

2016-06-01 Thread Jan Høydahl
It is a completely use on your own risk script :-) Freshly written, tested on some 4.8.0 indexes. PR’s welcome :-) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 1. jun. 2016 kl. 14.36 skrev Brendan Humphreys : > > Hi Jan, > > Thanks for the script!

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-01 Thread Jan Høydahl
Edismax used to default to mm=100% and not care about q.op at all Then from 4.x it did not care about q.op if mm was set explicitly, but if mm was not set, then q.op=OR —> mm=0%, q.op=AND —> mm=100% And from 5.5 it seems as q.op does something even if mm is set... -- Jan Høydahl,

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-02 Thread Jan Høydahl
s required. So I think we need to go back to a solution where q.op technically stays as OR for custom mm. How that would affect queries with explicit operators I don’t know... -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 2. jun. 2016 kl. 05.12 skrev Greg Pendle

Re: Need Permission to commit feature branch for Pull Request SOLR-8146

2016-08-09 Thread Jan Høydahl
Hi, You need to create the feature branch in your own fork of the project, not in a clone of apache/lucene-solr. Please see http://wiki.apache.org/solr/HowToContribute#Working_with_GitHub <http://wiki.apache.org/solr/HowToContribute#Working_with_GitHub> -- Jan Høydahl, search so

Re: Inconsistent results with solr admin ui and solrj

2016-08-13 Thread Jan Høydahl
compare numDocs / maxDocs for each? Both replicas in each shard should have same count. c) What are you querying on and sorting by? Does it happen with only one query and sorting? d) Are there any errors in the logs? If possible, please share some queries, responses, config, screenshots etc. -- Jan

Re: Inconsistent results with solr admin ui and solrj

2016-08-16 Thread Jan Høydahl
ify that both replicas are still in sync -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. aug. 2016 kl. 06.51 skrev Pranaya Behera : > > Hi, > a.) Yes index is static, not updated live. We index new documents over old > documents by this sequesce, dele

Re: Inconsistent results with solr admin ui and solrj

2016-08-16 Thread Jan Høydahl
into the system to diagnose, such as looking at state.json files, live_nodes znode etc. But really, this should JustWork™ :) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 16. aug. 2016 kl. 15.58 skrev Pranaya Behera : > > Hi, > I did as you sai

Re: index size increses dramatically

2016-08-17 Thread Jan Høydahl
system then it sounds like your system is not sized properly wrt memory. But you need to provide more details for anyone to be able to tell you exactly what is going on in your situation. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 17. aug. 2016 kl. 15.59 sk

Re: Migrate data from solr4.9 to solr6.1

2016-08-31 Thread Jan Høydahl
before?). -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 31. aug. 2016 kl. 04.06 skrev Karthik Ramachandran : > > I don't think optimize would work, you have upgrade the index using > IndexUpgrader tool from 4.x to 5.x and then from 5.x to 6.x. >

Re: Is it possible to grant privilege of collections to special users?

2016-08-31 Thread Jan Høydahl
Have you read this chapter in the refGuide? https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin <https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin> -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com >

Re: Solr - Backup api throwing exception

2016-09-06 Thread Jan Høydahl
s that the Overseer will first create the backup folder on the shared file system, and then each shard will put its backup inside of there. But since you do not use a shared file system, that folder only exists on the node running the Overseer, not all the other shards. -- Jan Høydahl, search solution

Re: Solr - Backup api throwing exception

2016-09-07 Thread Jan Høydahl
Hi, Backup can take time, so consider calling it asynchronously - https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-AsynchronousCalls <https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-AsynchronousCalls> -- Jan Høydahl,

Re: Bug with bootstrap_confdir?

2016-09-10 Thread Jan Høydahl
config resides relative to SOLR_HOME, Solr will try to bootstrap that as a core at startup, which is probably not what you would like. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 9. sep. 2016 kl. 19.04 skrev M Skazy : > > Hi, > > I was having an iss

Re: Monitoring Apache Solr

2016-09-12 Thread Jan Høydahl
I’ve heard several people recommend Sensu lately https://sensuapp.org/ <https://sensuapp.org/> but i have not tested it yet. They seem to have a Solr plugin out of the box as well https://github.com/sensu-plugins/sensu-plugins-solr <https://github.com/sensu-plugins/sensu-plugins-solr

Re: Unable to connect to correct port in solr 6.2.0

2016-09-12 Thread Jan Høydahl
) So the install of rc.d failed completely because of this. Don’t know if this is common on RHEL systems, perhaps we need to improve distro detection in installer? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 12. sep. 2016 kl. 21.31 skrev Shalin Shekhar Man

Re: Bug with bootstrap_confdir?

2016-09-13 Thread Jan Høydahl
. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 13. sep. 2016 kl. 19.02 skrev M Skazy : > > Hi Jan, > > I'll try to shed some more light on the issue I ran into. > > ENVIRONMENT: > > Solr Version 6.1.0 (however, same code exists in c

Re: Unable to connect to correct port in solr 6.2.0

2016-09-14 Thread Jan Høydahl
reated https://issues.apache.org/jira/browse/SOLR-9508 <https://issues.apache.org/jira/browse/SOLR-9508> to give better error msgs for missing /usr/sbin/service command -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 12. sep. 2016 kl. 22.28 skrev Kevin Ri

Re: Miserable Experience Using Solr. Again.

2016-09-14 Thread Jan Høydahl
getting a feature committed per se. But you are free to contact myself or other another committer that also work as a consultant, with a request to prioritise a certain feature. Note that there would be no guarantee that the hours you pay for would ever get committed; All development in Solr happe

Re: Miserable Experience Using Solr. Again.

2016-09-14 Thread Jan Høydahl
s a solr topic: http://stackoverflow.com/documentation/solr <http://stackoverflow.com/documentation/solr> Perhaps that could also be a good place to contribute HOWTOs and more end-user focused docs? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com

Re: Miserable Experience Using Solr. Again.

2016-09-15 Thread Jan Høydahl
plugin can take. Regarding the links in the admin, the “Documentation” link should perhaps link to http://lucene.apache.org/solr/resources.html#documentation <http://lucene.apache.org/solr/resources.html#documentation> The other links seem ok though. -- Jan Høydahl, search solution archite

Re: Month facet - possible bucket values are Jan, Feb, Mar,…. Nov, Dec

2016-09-21 Thread Jan Høydahl
would look something like: &facet.query={!frange l=1 u=1 key=Jan}month(cdate) &facet.query={!frange l=2 u=2 key=Feb}month(cdate) &facet.query={!frange l=3 u=3 key=Mar}month(cdate) … Have not tested this particular combination of facet.query, frange parser and function, but it could w

Re: Search with the start of field

2016-09-21 Thread Jan Høydahl
to do phrase searches like “ǣ DEF” which would only match the beginning since you include the very first token in the phrase. It is not a perfect solution, and I’d like a native query operator to handle it, but so far we have not got one. You may also try regex query, like myfield:/^DEF/

Re: issue transplanting standalone core into solrcloud (plus upgrade)

2016-09-26 Thread Jan Høydahl
Did you change the tag in your solrconfig.xml? You could try to let it stay at 3.6 and let compatibility mode kick in where applicable. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 25. sep. 2016 kl. 12.24 skrev xavi jmlucjav : > > Hi, > > I h

Re: issue transplanting standalone core into solrcloud (plus upgrade)

2016-09-26 Thread Jan Høydahl
ep. 2016 kl. 14.28 skrev xavi jmlucjav : > > Hi Shawn/Jan, > >> On Sun, Sep 25, 2016 at 6:18 PM, Shawn Heisey wrote: >> >>> On 9/25/2016 4:24 AM, xavi jmlucjav wrote: >>> Everything went well, no errors when solr restarted, the collections >> shows

Re: issue transplanting standalone core into solrcloud (plus upgrade)

2016-09-26 Thread Jan Høydahl
the original data (or in some cases maybe it is enough). If you share a copy of your old schema.xml we may be able to help. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 26. sep. 2016 kl. 20.39 skrev Shawn Heisey : > > On 9/26/2016 6:28 AM, xavi jmluc

Re: Faceting search issues

2016-09-27 Thread Jan Høydahl
Please tell some more - Solr version - Add to your query: &debugQuery=true&echoParams=all and paste the result - How is “string_ci” defined ()? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 26. sep. 2016 kl. 23.59 skrev Beyene, Iyob : > > Hi,

Re: Upgrading to SolrCloud

2016-10-06 Thread Jan Høydahl
en you create collections, Solr may assign you a node which is already used by other collections, and that may potentially cause performance issues if the node is not powerful enough to drive both collections. But you can also choose what node to use when creating the collection -- Jan Høydahl, sea

  1   2   3   4   5   6   7   8   9   10   >