Re: Zookeeper as Service

2014-01-08 Thread Shawn Heisey
On 1/9/2014 12:07 AM, Karthikeyan.Kannappan wrote: > Is it possible to have zookeeper as a service as like SolrCloud in Tomcat. I > dont want to start the Zookeeper from the command prompt, which will be > difficult to maintain if the machine restarts. If its possible, please share > a link/steps t

Zookeeper as Service

2014-01-08 Thread Karthikeyan.Kannappan
Is it possible to have zookeeper as a service as like SolrCloud in Tomcat. I dont want to start the Zookeeper from the command prompt, which will be difficult to maintain if the machine restarts. If its possible, please share a link/steps to follow With Regards, Karthik -- View this message in c

Re: Passing variables as values in Query Filter

2014-01-08 Thread Kranti Parisa
did you try this? q={!func}customfunc($v1)&v1=somevalue&qf=fieldname more info http://wiki.apache.org/solr/FunctionQuery Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Wed, Jan 8, 2014 at 2:22 AM, Mukundaraman valakumaresan < muk...@8kmiles.com> wrote: > Hi Ahmet, > > Th

RE: Solr not creating core.properties file

2014-01-08 Thread Craig Longman
Thanks so much. At first, I was looking at the solr.xml files in the directory specified as the jetty.home, not the solr.solr.home and they appeared identical. After reviewing the logs though, I saw an entry in the QA machine that indicated the solr.xml file was not found in the solr.solr.home d

Re: Solr not creating core.properties file

2014-01-08 Thread Erick Erickson
bq: So, I'm betting the machines not writing the core properties file are using the old style solr.xml. That would be my guess too. If you have a tag in your solr.xml, then the code thinks it's old-style. If your created cores get an entry in the solr.xml, that's further proof. The two cases are

Re: Solr not creating core.properties file

2014-01-08 Thread Joel Bernstein
Still reading through the code but it looks like the old styl solr.xml will trigger the use of SolrXMLCoresLocator, while new style will trigger the the CorePropertiesLocator

Re: Solr not creating core.properties file

2014-01-08 Thread Joel Bernstein
Craig, Looking through the code there are two CoresLocator impls, I suspect the SolrXMLCoresLocator is the one being used on the servers not writing the core properties. I'll do some more code review but

RE: Solr not creating core.properties file

2014-01-08 Thread Craig Longman
On the dev machine, it works either way. On the other two machines, it's not working, either way. We can safely ignore the BitNami GUI, and focus on the URL I provided below. Our app needs to create them on the fly, so that's really the mechanism I am interested in resolving. I only mentioned

Re: How to change Field weigth via api or another way

2014-01-08 Thread Erwin Etchart
Thanks for all the responses, normally i have to set the field weight directly in xml creating a type of relevance. What i was wondering if is possible to change what you normally do on xml via api o command. I think that the solution provided q=superman&qf=title^2 subject can work for me. Thanks

Re: Solr not creating core.properties file

2014-01-08 Thread Joel Bernstein
One quick clarification: "On our dev machine, this works as expected, it's just on the two other machines where we're having QA take a crack at it that it's not working." So: a) On the dev machine the core admin command is working. b) On the other two machines it's not working. On the two machin

RE: Solr not creating core.properties file

2014-01-08 Thread Craig Longman
As mentioned, I'm using the BitNami installer, it has an admin GUI. Creating it there results in not having a core.properties file created. In our application, we issue this: dev-solr2/solr/admin/cores ?action=CREATE &loadOnStartup=true &name=database_1_1 &instance

Re: Solr not creating core.properties file

2014-01-08 Thread Joel Bernstein
Craig, Can you describe the steps you are using to create the core? Joel Joel Bernstein Search Engineer at Heliosearch On Wed, Jan 8, 2014 at 2:27 PM, Craig Longman wrote: > We're exploring using Solr as a search/faceting engine, and things went > quite well during the research phase. We've

Solr not creating core.properties file

2014-01-08 Thread Craig Longman
We're exploring using Solr as a search/faceting engine, and things went quite well during the research phase. We've expanded it a bit, but have run into something of a problem on the two latest machines we've installed Solr on: Solr is just quietly refusing to write out the core.properties file at

Re: How to change Field weigth via api or another way

2014-01-08 Thread Aruna Kumar Pamulapati
In the link I sent before , you will see specific example as Otis replied : q=superman&qf=title^2 subject On Wed, Jan 8, 2014 at 1:56 PM, Aruna Kumar Pamulapati < apamulap...@gmail.com> wrote: > Hi Erwin, > > Are you talking about query time boosting? > This explains the boosting : > http://wiki

Re: How to change Field weigth via api or another way

2014-01-08 Thread Aruna Kumar Pamulapati
Hi Erwin, Are you talking about query time boosting? This explains the boosting : http://wiki.apache.org/solr/SolrRelevancyFAQ Thanks, Arun On Wed, Jan 8, 2014 at 1:32 PM, Erwin Etchart wrote: > Hi people, > > Anybody knows if is possible to change the weightage of a field in a > dynamic way i

Re: How to change Field weigth via api or another way

2014-01-08 Thread Otis Gospodnetic
Hi Erwin, Sure, you can pass in qf=. with fields and weights via the URL on every call. Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Wed, Jan 8, 2014 at 1:32 PM, Erwin Etchart wrote: > Hi people, > > Anybody knows

Re: Solr 4.6.0: DocValues (distributed search)

2014-01-08 Thread Shawn Heisey
On 1/8/2014 11:24 AM, ku3ia wrote: Hi! https://issues.apache.org/jira/browse/SOLR-3855 Description It would be nice if Solr supported DocValues: for ID fields (fewer disk seeks when running distributed search), Does docValues completely done for distributed search? for ID fields? P.S. I'm using

How to change Field weigth via api or another way

2014-01-08 Thread Erwin Etchart
Hi people, Anybody knows if is possible to change the weightage of a field in a dynamic way instead of xml usage? Best regards Erwin

Solr 4.6.0: DocValues (distributed search)

2014-01-08 Thread ku3ia
Hi! https://issues.apache.org/jira/browse/SOLR-3855 Description It would be nice if Solr supported DocValues: for ID fields (fewer disk seeks when running distributed search), Does docValues completely done for distributed search? for ID fields? P.S. I'm using Solr 4.6.0 not in Cloud. -- View

Re: Perl Client for SolrCloud

2014-01-08 Thread Chris Hostetter
: > I couldn't find anyone which can connect to SolrCloud similar to SolrJ's : > CloudSolrServer. : : Since I have a load balancer in front of 8 nodes, WebService::Solr[1] still : works fine. Right -- just because SolrJ is ZooKeeper aware doesn't mean you can *only* talk to SolrCloud with SolrJ

Re: Range queries with Grouping is slow?

2014-01-08 Thread Erick Erickson
Yeah, time fqs in particular can be tricky to re-use if you specify NOW, see: http://searchhub.org/2012/02/23/date-math-now-and-filter-queries/ Best, Erick On Wed, Jan 8, 2014 at 12:18 PM, Kranti Parisa wrote: > yes thats the key, these time ranges change frequently and hitting > filtercache t

Re: Range queries with Grouping is slow?

2014-01-08 Thread Kranti Parisa
yes thats the key, these time ranges change frequently and hitting filtercache then is a problem. I will try few more samples and probably debug thru it. thanks. Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Wed, Jan 8, 2014 at 12:11 PM, Erick Erickson wrote: > Well, act

Re: Range queries with Grouping is slow?

2014-01-08 Thread Erick Erickson
Well, actually you can use fqs, it's just that re-using them becomes a bit more tricky. Specifically, fq=field1:blah OR field2:blort is perfectly reasonable. However, it doesn't break things down into sub-clauses, so fq=field1:blah will create a new entry in the filtercache. And fq=field2:blort OR

Re: Range queries with Grouping is slow?

2014-01-08 Thread Kranti Parisa
I was trying with the [* TO *] as an example, the real use case is OR query between 2/more range queries of timestamp fields (saved in milliseconds). So I can't use FQs as they are ANDed by definition. Am I missing something here? Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantipari

Re: questions on the collections API usage (solrcloud 4.5.1)

2014-01-08 Thread jhittner
> Let's take a step back and examine a more ideal way to do things. Shawn- Thanks very much for taking the time to explain this to me so clearly. I think I'm good to go now. I will do some testing today. -Jon -- View this message in context: http://lucene.472066.n3.nabble.com/question

Re: Searchquery on field that contains space

2014-01-08 Thread Erick Erickson
You can also use phrase queries as title_search:"new york" if your intent is to find the words "new" and "york" right next to each other. There's also "slop", as "new york"~3 if you want to find the two words within 3 (in this example) positions of each other. Take a look at the admin/analysis pag

RE: Analysis page broken on trunk?

2014-01-08 Thread Markus Jelsma
Hi - You will see on the left side each filter abbreviation but you won't see anything in the right container. No terms, positions, offsets, nothing. Markus -Original message- > From:Stefan Matheis > Sent: Wednesday 8th January 2014 14:10 > To: solr-user@lucene.apache.org > Subject:

Re: Range queries with Grouping is slow?

2014-01-08 Thread Joel Bernstein
Kranti, The range query also looks like a good candidate to be moved to a filter query so it can be cached. Joel Bernstein Search Engineer at Heliosearch On Tue, Jan 7, 2014 at 11:34 PM, Smiley, David W. wrote: > Kranti, > > I can't speak to the specific slow-down while grouping, but if you e

Re: Analysis page broken on trunk?

2014-01-08 Thread Stefan Matheis
Hey Markus i'm not up to date with the latest changes, but if you can describe how to reproduce it, i can try to verify that? -Stefan On Wednesday, January 8, 2014 at 12:44 PM, Markus Jelsma wrote: > Hi - it seems the analysis page is broken on trunk and it looks like our 4.5 > and 4.6 bui

Re: Facet in query parameters return all the fields instead of the field mentioned in facet.field parameter

2014-01-08 Thread Dmitry Kan
Hi, do you see the faceted fields with &rows=0 attached? could you show the solrconfig.xml portion for /select handler? Dmitry On Tue, Dec 31, 2013 at 2:33 PM, deepakas wrote: > Hi , > I am making a solr query by passing a facet field. For some reason it > returns all the fields in solr index

Analysis page broken on trunk?

2014-01-08 Thread Markus Jelsma
Hi - it seems the analysis page is broken on trunk and it looks like our 4.5 and 4.6 builds are unaffected. Can anyone on trunk confirm this? Markus

Re: Perl Client for SolrCloud

2014-01-08 Thread David Santamauro
On 01/07/2014 04:41 PM, Saumitra Srivastav wrote: Is there any perl client for SolrCloud. There are some Solr clients in perl but they are for single node Solr. I couldn't find anyone which can connect to SolrCloud similar to SolrJ's CloudSolrServer. Since I have a load balancer in front of 8

Re: Searchquery on field that contains space

2014-01-08 Thread Ahmet Arslan
Hi Peter, q=title_search:new york parsed as title_search:new default_search_field:york.  If you use a tokenized type, use parenthesis q=title_search:(new york) If you use string type, use term query parser q={!term f=city_search}new york Ahmet On Wednesday, January 8, 2014 11:22 AM, PeterKerk

Re: Minimal solr.xml since 4.4 and beyond

2014-01-08 Thread Scatman
Well, thanks for details :) I know that the old structure is supported yet but i want to prevent the changed in 5.0. Maybe i will not work on it when it will happen ^^ Best, Scatman -- View this message in context: http://lucene.472066.n3.nabble.com/Minimal-solr-xml-since-4-4-and-beyond-tp41

Searchquery on field that contains space

2014-01-08 Thread PeterKerk
My query on finding a cityname does not show the closest matching value, but instead gives priority to the first word in the searchquery. I believe it has something to do with the whitespace tokenenization, but I don't know which fields to change to what type. Here's what happens when I search o

Re: MergePolicy for append-only indices?

2014-01-08 Thread Michael McCandless
On Mon, Jan 6, 2014 at 3:42 PM, Michael Sokolov wrote: > I think the key optimization when there are no deletions is that you don't > need to renumber documents and can bulk-copy blocks of contiguous documents, > and that is independent of merge policy. I think :) Merging of term vectors and stor