issue in launching SolrCloud windows/cygwin

2014-10-18 Thread Anurag Sharma
Here is the issue am facing issue in using the 'solr' script on Windows with cygwin terminal: $ bin/solr -e cloud bin/solr: line 16: $'\r': command not found bin/solr: line 17: $'\r': command not found bin/solr: line 46: $'\r': command not found which: no lsof in (/usr/local/bin:/usr/bin:/cygdrive

Re: FW: Complex boost statement

2014-10-18 Thread William Bell
Wouldn't it be? if(and(exists(query({!v="BUS_CITY:regina"})),not(query({!v="BUS_IS_ TOLL_FREE:true"})),500,1) On Fri, Oct 17, 2014 at 2:07 PM, Corey Gerhardt < corey.gerha...@directwest.com> wrote: > Apparently I need to a long holiday so that I can interpret the > documentation correctly. > >

How to properly use Levenstein distance with ~ in Java

2014-10-18 Thread Aleksander Sadecki
Hi, I have got a SOLR instance on my local machine with samples of data. When I run in myhost:8083/solr/#/mycore/query a query: title:taverna it gives me 4 results. When I make a mistake, for instance: title:taveranx it gives me 0 results but with '~' it finds all of the 4 samples which have been

Re: import data into solr from velocity (aka Solritas)

2014-10-18 Thread LongY
Thanks for pointing this out. The web server I developed is only for internal use, and users are trustworthy. Yes, I agree with you. Velocity/Solaritas is never intended to be a user-facing app. It need a middleware layer if user is public. -- View this message in context: http://lucene

Re: import data into solr from velocity (aka Solritas)

2014-10-18 Thread Shawn Heisey
On 10/18/2014 8:15 AM, LongY wrote: > I still used the same /browse request handler in the example. > > My goal is to create a webform UI to collect user input to be further > indexed. > My thoughts is adding a new webpage to the existing user interface, the link > is > localhost:8983/solr/collect

Re: import data into solr from velocity (aka Solritas)

2014-10-18 Thread LongY
Thanks a lot. Eric. I still used the same /browse request handler in the example. My goal is to create a webform UI to collect user input to be further indexed. My thoughts is adding a new webpage to the existing user interface, the link is localhost:8983/solr/collection1/browse/. I added a new l

Re: import data into solr from velocity (aka Solritas)

2014-10-18 Thread Erik Hatcher
Could you elaborate more on what you're trying to do? You've defined a new request handler? You can use any template you want with the Velocity writer - v.template=template_name As for DIH - it can do a lot, database, XML, email, another Solr, etc. What kind of "import" are you trying to a