Difference between currency fieldType and float fieldType

2016-12-05 Thread Zheng Lin Edwin Yeo
Hi, Would like to understand better between the currency fieldType and float fieldType. If I were to index a field that is a currency field by nature (Eg: amount) into Solr, is it better to use the currency fieldType as compared to the float fieldType? I found that for the float fieldType, if

RE: Solr seems to reserve facet.limit results

2016-12-05 Thread Chris Hostetter
I think what you're seeing might be a result of the overrequesting done in phase #1 of a distriuted facet query. The purpose of overrequesting is to mitigate the possibility of a constraint which should be in the topN for the collection as a whole, but just outside the topN on every shard --

Re: SOLR index help (SQL Anywhere 16, MS SQL 2014)

2016-12-05 Thread Erick Erickson
There are two basic choices, see Data Import Handler (DIH) or roll-your-own solrJ client, see: https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/ Best, Erick On Mon, Dec

Re: Reserved characters in password used by Jetty (Solr)

2016-12-05 Thread Chris Hostetter
: I fixed the issue by URL encoding. Here is a slim down version of my code : (with the fix): ... : // Gives back: http://username:password@server:port/solr/... : String solrUrl = "http://; + username + ":" + password + "@" + : getSolrServerName() + ":"

Re: Reserved characters in password used by Jetty (Solr)

2016-12-05 Thread Steven White
Thanks Shawn. I fixed the issue by URL encoding. Here is a slim down version of my code (with the fix): // Gives back: http://username:password@server:port/solr/... public HttpSolrClient getSolrClient() { // the next two lines is the fix String username =

Re: [ANN] InvisibleQueriesRequestHandler

2016-12-05 Thread Andrea Gazzarini
Hi Charlie, Great to hear that! I never worked in a Drupal / Hybris -> Solr integration. So it seems things sound moreless like the Magento scenario That means what I did could make a sense and most important, it could be useful for someone. Best, Andrea On 5 Dec 2016 18:08, "Charlie Hull"

Re: [ANN] InvisibleQueriesRequestHandler

2016-12-05 Thread Andrea Gazzarini
Hi Erik, interesting approach, but, please correct me if I didn't get you, this is different because - it requires some kind of control on the client side and for example, in Magento you don't have that: it is not aware about group responses or arbitrary facet queries (BTW the Magento/Solr

SOLR index help (SQL Anywhere 16, MS SQL 2014)

2016-12-05 Thread VenkatBR
Hello SOLR Experts, I am a newbie to SOLR and Java programming. I trying to prototype SOLR at my client site. I was able to install SOLR on a win 2012 Virtual machine and I am stuck, not sure how to index my data which are in SQL Anywhere version 16 databases, MS SQL 2014 databases & lot of

Re: [ANN] InvisibleQueriesRequestHandler

2016-12-05 Thread Erik Hatcher
Another technique for this is to use Grouping’s `group.query` a few times, with exact to fuzzier types of queries and get it all back in one response. So you _can_ run multiple searches in a single query already :) I’ve used a similar technique with faceting and `facet.query` to give you

Re: [ANN] InvisibleQueriesRequestHandler

2016-12-05 Thread Walter Underwood
We used to run that way, with an exact search first, then a broad search if there were no results. It has an interesting failure mode. If the user misspells a word (about 10% of queries do), and the misspelling matches a misspelled document, then you are stuck. It will never show the

Re: [ANN] InvisibleQueriesRequestHandler

2016-12-05 Thread Charlie Hull
On 05/12/2016 09:18, Andrea Gazzarini wrote: Hi guys, I developed this handler [1] while doing some work on a Magento -> Solr project. If someone is interested (this is a post [2] where I briefly explain the goal), or wants to contribute with some idea / improvement, feel free to give me a

Re: Reserved characters in password used by Jetty (Solr)

2016-12-05 Thread Shawn Heisey
On 12/5/2016 8:10 AM, Steven White wrote: > Hi everyone, > > I'm password protecting Solr using Jetty's realm.properties and noticed > that if the password has "@" Jetty throws an error and thus I cannot access > Solr: > My question is, what are the reserved character list? Are they listed >

Re: Queries regarding solr cache

2016-12-05 Thread Shawn Heisey
On 12/5/2016 6:44 AM, kshitij tyagi wrote: > - lookups:381 > - hits:24 > - hitratio:0.06 > - inserts:363 > - evictions:0 > - size:345 > - warmupTime:2932 > - cumulative_lookups:294948 > - cumulative_hits:15840 > - cumulative_hitratio:0.05

Reserved characters in password used by Jetty (Solr)

2016-12-05 Thread Steven White
Hi everyone, I'm password protecting Solr using Jetty's realm.properties and noticed that if the password has "@" Jetty throws an error and thus I cannot access Solr: java.lang.IllegalArgumentException: Illegal character in fragment at index 31: SolrAdminUser:81#Mst#Demo@18

Load solr libraries from hdfs

2016-12-05 Thread Gintautas Sulskus
Hi, Is it possible to add libraries to solr classpath from hdfs? E.g. ? I have some custom libraries that now have to be maintained across multiple servers. Would be great to be able to store them in a single location. Best, Gin

Re: Queries regarding solr cache

2016-12-05 Thread kshitij tyagi
Hi Shawn, Thanks for the reply: here are the details for query result cache(i am not using NOW in my queries and most of the queries are common): - class:org.apache.solr.search.LRUCache - version:1.0 - description:LRU Cache(maxSize=1000, initialSize=1000, autowarmCount=10,

Re: Using DIH FileListEntityProcessor with SolrCloud

2016-12-05 Thread Erik Hatcher
Try the absolute path on your -Solr- server. That's where DIH runs. Erik > On Dec 2, 2016, at 08:36, Chris Rogers wrote: > > Hi all, > > A question regarding using the DIH FileListEntityProcessor with SolrCloud > (solr 6.3.0, zookeeper 3.4.8). > > I

Re: Using DIH FileListEntityProcessor with SolrCloud

2016-12-05 Thread Felipe Vinturini
Hi *Chris*, I've never used the DIH, but maybe the "*fileName*" pattern is wrong? fileName="*.*xml*" Should be: fileName="**.xml*" Regards, *Felipe*. On Mon, Dec 5, 2016 at 9:43 AM, Chris Rogers wrote: > Hi all, > > Just bumping my question again,

Re: Using DIH FileListEntityProcessor with SolrCloud

2016-12-05 Thread Chris Rogers
Hi all, Just bumping my question again, as doesn’t seem to have been picked up by anyone. Any help would be much appreciated. Chris On 02/12/2016, 16:36, "Chris Rogers" wrote: Hi all, A question regarding using the DIH FileListEntityProcessor with

Re: Solr custom document routing

2016-12-05 Thread SOLR4189
First of all, yes, you are right, we're trying to optimize quering, but not "just". In our company we arrived to the limit of resources that we can set to our servers (CPU and RAM). We need return to our example, fieldX=true is all the documents that are indexed in the last week (like "news", it

[ANN] InvisibleQueriesRequestHandler

2016-12-05 Thread Andrea Gazzarini
Hi guys, I developed this handler [1] while doing some work on a Magento -> Solr project. If someone is interested (this is a post [2] where I briefly explain the goal), or wants to contribute with some idea / improvement, feel free to give me a shout or a feedback. Best, Andrea [1]

Re: Solr seems to reserve facet.limit results

2016-12-05 Thread Toke Eskildsen
On Fri, 2016-12-02 at 12:17 +, Markus Jelsma wrote: > I have not considered streaming as i am still completely unfamiliar > with it and i don't yet know what problems it can solve. Standard faceting requires all nodes to produce their version of the full result and send it as one chunk, which