Re: Arabic analyser

2015-11-10 Thread Alexandre Rafalovitch
If this is for a significant project and you are ready to pay for it, BasisTech has commercial solutions in this area I believe. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 10 November 2015 at 08:46, Mahmoud Almokadem

Re: Simple web interface for queries

2015-11-10 Thread Alexandre Rafalovitch
Solr is not actually designed to be directly exposed to the end-users. It is possible to delete the whole collection,etc. It is supposed to be treated as a database behind firewall, etc. Just thought I'll mention that in case you did not know it. Regards, Alex. Solr Analyzers,

Re: The time that init.d script waits before shutdown should be configurable

2015-11-10 Thread Yago Riveiro
Patch attached to https://issues.apache.org/jira/browse/SOLR-8065 The windows script is voodo for me :D, I haven’t the knowledge to port this to cmd script. —/Yago Riveiro On Mon, Nov 9, 2015 at 3:23 PM, Upayavira wrote: > Yago, > I think a JIRA has been raised for

Re: Simple web interface for queries

2015-11-10 Thread davidphilip cherian
How about velocity search UI? You can access that using /browse https://cwiki.apache.org/confluence/display/solr/Velocity+Search+UI On Tue, Nov 10, 2015 at 10:14 AM, Nigel Robbins < nigel.robb...@wallstreetsystems.com> wrote: > Hi, > > > > Just wondering if there is a simplified web user

Re: Security Problems

2015-11-10 Thread Shawn Heisey
On 11/9/2015 6:38 PM, 马柏樟 wrote: > After I configure Authentication with Basic Authentication Plugin and > Authorization with Rule-Based Authorization Plugin, How can I prevent the > strangers from visiting my solr by browser? For example, if the stranger > visit the http://(my host):8983, the

Simple web interface for queries

2015-11-10 Thread Nigel Robbins
Hi, Just wondering if there is a simplified web user interface for users to issue just queries. The http://localhost:8984/solr/#/core/query URL has too many options for my end-users. For example, can the web interface be configured for queries so that only the “query string” and output

Re: Stopping Solr on Linux when run as a service

2015-11-10 Thread Scott Stults
Steve, In short, don't worry: it all gets taken care of. The way services work on Linux is, when the system shuts down it will basically call "service (servicname) stop" on each service. That calls the bin/init.d/solr script with a "stop" argument, which in turn calls the bin/solr script with a

Re: Stopping Solr on Linux when run as a service

2015-11-10 Thread Shawn Heisey
On 11/10/2015 7:40 AM, Steven White wrote: > This question maybe more of a Linux one vs. Solr, but I have to start > someplace. > > I'm reading this link > https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production > to get Solr on Linux (I'm more of a Windows guy). > > The page

Re: Solr Search: Access Control / Role based security

2015-11-10 Thread Anshum Gupta
I think both of those overlap at some point but aren't really directly related or problems that would be solved in the same manner. Document level security, though can be implemented using custom authentication/authorization plugins, but there are a fair amount of users who use ManifoldCF for the

Re: Search query speed

2015-11-10 Thread Gopal Patwa
You could start adding debug=true in your request, it will show complete query execution time On Tue, Nov 10, 2015 at 9:39 AM John Stric wrote: > The speed of particular query has gone from about 42 msec to 66 msec > without any changes. > > How do I go about troubleshooting

Re: Solr results relevancy / scoring

2015-11-10 Thread Brian Narsi
Yes the term was getting tokenized as 15. And Norms are not ignored. Thank you for helping understand the issue. On Mon, Nov 9, 2015 at 6:07 AM, Alessandro Benedetti wrote: > I quote Emir and I would like to ask if the Norms are ignored or not. > If they are not ignored

Search query speed

2015-11-10 Thread John Stric
The speed of particular query has gone from about 42 msec to 66 msec without any changes. How do I go about troubleshooting what may have happened? And how do I improve that speed? Thanks

Re: Security Problems

2015-11-10 Thread Upayavira
Noble, I get that a UI which is open source does not benefit from ACL control - we're not giving away anything that isn't public (other than perhaps info that could be used to identify the version of Solr, or even the fact that it *is* solr). However, from a user experience point of view,

Re: Solr Search: Access Control / Role based security

2015-11-10 Thread Susheel Kumar
Thanks everyone for the suggestions. Hi Noble - Were there any thoughts made on utilizing Apache ManifoldCF while developing Authentication/Authorization plugins or anything to add there. Thanks, Susheel On Tue, Nov 10, 2015 at 5:01 AM, Alessandro Benedetti wrote: >

Re: Security Problems

2015-11-10 Thread Anshum Gupta
The reason why we bypass that is so that we don't hit the authentication plugin for every request that comes in for static content. I think we could call the authentication plugin for that but that'd be an overkill. Better experience ? yes On Tue, Nov 10, 2015 at 11:24 AM, Upayavira

Re: Security Problems

2015-11-10 Thread Anshum Gupta
It has a cost :) I think it'd make sense to restrict access to /admin and not really bother about .css/js etc. So if a user tries to access an image from the image from the admin UI directly, the request would go through but that should be fine. On Tue, Nov 10, 2015 at 12:22 PM, Upayavira

Re: Security Problems

2015-11-10 Thread Erik Hatcher
Front it with request handler(s) and get security for free :) (top level not cite specific it'd have to be) > On Nov 10, 2015, at 14:24, Upayavira wrote: > > Noble, > > I get that a UI which is open source does not benefit from ACL control - > we're not giving away anything

Re: Search query speed

2015-11-10 Thread Toke Eskildsen
John Stric wrote: > The speed of particular query has gone from about 42 msec to 66 msec > without any changes. - Your JVM has allocated a bit more RAM, leaving less for disk cache. - Your index has grown. - The amount of concurrent requests has increased, pushing objects from

Re: Security Problems

2015-11-10 Thread Upayavira
Is the authentication plugin that expensive? I can help by minifying the UI down to a smaller number of CSS/JS/etc files :-) It may be overkill, but it would also give better experience. And isn't that what most applications do? Check authentication tokens on every request? Upayavira On Tue,

Re: fl=value equals?

2015-11-10 Thread Jan Høydahl
Where is your “b” parameter used? I think that instead of trying to set a new “b” http param (which solr will not evaluate as a function), you should instead try to insert your function or switch qParser directly where the “b” param is used, e.g. in a bq or similar. A bit heavy weight, but you

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=*:*=xslt=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: Security Problems

2015-11-10 Thread Upayavira
Or, rather than touch Jetty, you could simply use iptables or such firewall as is provided by your operating system. Upayavira On Tue, Nov 10, 2015, at 08:08 AM, Vijay Mhaskar - 2 wrote: > Or you can try configuring IP based access control mechanism using > IPAccessHandler in jetty. I have

Re: Security Problems

2015-11-10 Thread Vijay Mhaskar - 2
Or you can try configuring IP based access control mechanism using IPAccessHandler in jetty. I have configured this for our SolrCloud setup and it works very well. While configuring it for SolrCloud we need to be more careful because Solr has lot of inter node communication happening during

Re: Solr Suggester with Geo?

2015-11-10 Thread Mikhail Khludnev
Hello, It seems it's nearly possible, but needs to be done https://github.com/apache/lucene-solr/blob/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java#L576 (this is for AnalyzingInfixLookupFactory) And for FuzzySuggester such implementation is

Re: Solr Suggester with Geo?

2015-11-10 Thread Alessandro Benedetti
Out of the box the Suggester componenent provides a set of Lookup implementation to look for the suggestions from the dictionary selected. Most of the suggestion lookups are FST based ( except the Analysing Infix one , that relies on an external auxiliary Lucene Index) . Depending on your

Re: Solr Search: Access Control / Role based security

2015-11-10 Thread Alessandro Benedetti
I've been working for a while with Apache ManifoldCF and Enterprise Search in Solr ( with Document level security) . Basically you can add a couple of extra fields , for example : allow_token : containing all the tokens that can view the document deny_token : containing all the tokens that are

Re: Security Problems

2015-11-10 Thread Noble Paul
The admin UI is a bunch of static pages . We don't let the ACL control static content you must blacklist all the core/collection apis and it is pretty much useless for anyone to access the admin UI (w/o the credentials , of course) On Tue, Nov 10, 2015 at 7:08 AM, 马柏樟 wrote:

Re: The time that init.d script waits before shutdown should be configurable

2015-11-10 Thread Ere Maijala
If you're still going the shell script way, I'd suggest incorporating my changes (patch attached to the issue). It allows waiting for a longer time but only as long as necessary (like it already does during startup). --Ere 11.11.2015, 0.01, Upayavira kirjoitti: On Tue, Nov 10, 2015, at

Need help to create Solr committer account / email address.

2015-11-10 Thread ANUP DIXIT
Hi Solr Team, Please help me or let me know process, how can I create an Solr committer account / email address. I did read instruction at https://reference.apache.org/committer/email, but not able to get this right or configured it correctly. Have a good day !!! *Thanks & Regards, **Anup

Stopping Solr on Linux when run as a service

2015-11-10 Thread Steven White
Hi folks, This question maybe more of a Linux one vs. Solr, but I have to start someplace. I'm reading this link https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production to get Solr on Linux (I'm more of a Windows guy). The page provides good intro on how to setup Solr to

Re: The time that init.d script waits before shutdown should be configurable

2015-11-10 Thread Upayavira
On Tue, Nov 10, 2015, at 04:22 PM, Yago Riveiro wrote: > Patch attached to https://issues.apache.org/jira/browse/SOLR-8065 > > > > > > The windows script is voodo for me :D, I haven’t the knowledge to port > this to cmd script. Great! I saw this! Two things - firstly, when making a patch,

fl=value equals?

2015-11-10 Thread William Bell
We are trying to look at a value, and change another value based on that. For example, for national search we want to pass in radius=national, and then set another variable equal to 0, else set the other variable = to geodist() calculation. We tried {!switch} but this only appears to work on

Re: Arabic analyser

2015-11-10 Thread Mahmoud Almokadem
Thanks Pual, Arabic analyser applying filters of normalisation and stemming only for single terms out of standard tokenzier. Gathering all synonyms will be hard work. Should I customise my Tokenizer to handle this case? Sincerely, Mahmoud On Tue, Nov 10, 2015 at 3:06 PM, Paul Libbrecht

Re: Arabic analyser

2015-11-10 Thread Paul Libbrecht
Mahmoud, there is an arabic analyzer: https://wiki.apache.org/solr/LanguageAnalysis#Arabic doesn't it do what you describe? Synonyms probably work there too. Paul > Mahmoud Almokadem > 9 novembre 2015 17:47 > Thanks Jack, > > This is a good solution, but we

Re: fl=value equals?

2015-11-10 Thread William Bell
I was able to get it to work kinda with a map(). http://localhost:8983/solr/select?q=*:*=1= map($radius,1,1,0,geodist()) Where 1= National Do you have an example of a SearchComponent? It would be