RE: Wiki new user

2015-05-13 Thread Sergio Velasco
Hi Erik, SergioVelasco is a good one? If not, SergioMitula or womething like this. Thank you, guy! http://img.mitula.net/www/mitula/images/firmas/logo_espanol.jpg www.mitula.com Sergio Velasco | Dpto. de Desarrollo Contáctame:

Re: QQ on segments during indexing.

2015-05-13 Thread Manohar Sripada
Thanks Shawn, In my case, the document size is small. So, for sure it will reach 50k docs first than 100MB buffer size. Thanks, Manohar On Thu, May 14, 2015 at 10:49 AM, Shawn Heisey wrote: > On 5/13/2015 10:01 PM, Manohar Sripada wrote: > > I have a question on segment creation on disk during

Re: QQ on segments during indexing.

2015-05-13 Thread Shawn Heisey
On 5/13/2015 10:01 PM, Manohar Sripada wrote: > I have a question on segment creation on disk during indexing. > > In my solrconfig.xml, I have commented maxBufferedDocs and ramBufferSizeMB. > I am controlling the flushing of data to disk using autoCommit's maxDocs > and maxTime. > > Here, maxDoc

QQ on segments during indexing.

2015-05-13 Thread Manohar Sripada
I have a question on segment creation on disk during indexing. In my solrconfig.xml, I have commented maxBufferedDocs and ramBufferSizeMB. I am controlling the flushing of data to disk using autoCommit's maxDocs and maxTime. Here, maxDocs is set to 5 and will be hit first, so that commit of d

Re: Is copyField a must?

2015-05-13 Thread Steven White
Hi Erick, The "fq" did the trick. This basically solved my need, and I can call it a day (now that it is late Friday) The reason why I'm using two (and there will be move) handlers vs "qf" in the URL, is due to the GET limit. The list of fields will be large (nearing 1000) and each field name c

Re: Is copyField a must?

2015-05-13 Thread Erick Erickson
Two things: 1> There's really no need to define two request handlers here. The section is exactly that, defaults which can be overridden by the URL. So rather than have select_group_b, use something like ... solr/collection/select_group_a?q=whatever&qf=F2,F3,F5 2> When you add a field qualifie

Re: Is copyField a must?

2015-05-13 Thread Steven White
Looks like I got it working (however I still have an outstanding issue, see end of my email). Here is what I have done: 1) In my solrconfig.xml, I created: explicit 20 edismax F1 F2 F3 type,id,score xml true And

Re: Is copyField a must?

2015-05-13 Thread Steven White
Thanks for the quick reply Shawn. I will dig into dismax and edismax and come back with questions if I cannot figure it out. I avoided them thinking they are for faceting use only, my need is generic search (all the features I get via solr.SearchHandler) but limited to a set of fields. Steve On

Re: Is copyField a must?

2015-05-13 Thread Shawn Heisey
On 5/13/2015 3:36 PM, Steven White wrote: > Note, I want to avoid a URL base solution (sending the list of fields over > HTTP) because the list of fields could be large (1000+) and thus I will > exceed GET limit quickly (does Solr support POST for searching, if so, than > I can use URL base solutio

Re: Is copyField a must?

2015-05-13 Thread Shawn Heisey
On 5/13/2015 3:36 PM, Steven White wrote: > > >explicit >20 >F2,F3,F5 >id,score > > > > However, this isn't working because whatever is in "df" is being treated as > single field name. The df parameter is shorthand for "default field." It is, by defin

Re: Is copyField a must?

2015-05-13 Thread Steven White
Hmm, looks like I'm missing something here as I cannot get this to work. My need is as follows. From my application, I need to issue a generic search which is limited to a set of fields based on the group the user belongs to. For example, user-1 is in group-A which has default fields of F1, F2,

Block Join Query update documents, how to do it correctly?

2015-05-13 Thread Tom Devel
I am using the Block Join Query Parser with success, following the example on: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParsers As this example shows, each parent document can have a number of documents embedded, and each document, be it a parent o

Re: Is copyField a must?

2015-05-13 Thread Erik Hatcher
No, there is no requirement for having a copyField of any kind. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On May 13, 2015, at 1:50 PM, Steven White wrote: > > I don't have a need for Edismax. That said, do I still have a need for >

Re: Is copyField a must?

2015-05-13 Thread Steven White
I don't have a need for Edismax. That said, do I still have a need for copyField into a default-field? Steve On Wed, May 13, 2015 at 11:13 AM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > I think with a proper configuration of the Edismax query parser and a > proper management of

Confusion about zkcli.sh and solr.war

2015-05-13 Thread Jim . Musil
I'm trying to use zkcli.sh to upload configurations to zookeeper and solr 5.1. It's throwing an error because it references webapps/solr.war which no longer exists. Do I have to build my own solr.war in order to use zkcli.sh? Please forgive me if I'm missing something here. Jim Musil

Re: Is copyField a must?

2015-05-13 Thread Alessandro Benedetti
I think with a proper configuration of the Edismax query parser and a proper management of field boosting, it's much more precise to use the list of interesting fields than a big blob copy field. Cheers 2015-05-13 15:54 GMT+01:00 Steven White : > Hi Everyone, > > In my search need, I will alway

Re: Setting system property

2015-05-13 Thread Erik Hatcher
Clemens - For this particular property, it is only accessed as a system property directly, so it must be set on the JVM startup and cannot be set any other way. Erik — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On May 13, 2015,

Is copyField a must?

2015-05-13 Thread Steven White
Hi Everyone, In my search need, I will always be using df to specify the list of fields a search will be done in (the list of fields is group based which my application defines). Given this, is there any reason to use copyField to copy the data into a single master-field to search against? Am I

Re: Wiki new user

2015-05-13 Thread Erik Hatcher
Sergio - what is your wiki username? We can add you as an editor once you provide the username. Erik > On May 13, 2015, at 10:33, Sergio Velasco wrote: > > Hi, > > I would like to become a member of the Solr wiki. I have requested it to the > Solr user lists and they have send me to

Wiki new user

2015-05-13 Thread Sergio Velasco
Hi, I would like to become a member of the Solr wiki. I have requested it to the Solr user lists and they have send me to this list to request access to the wiki. I am the Mitula CTO and we have been using Solr from the very beginning, 6 years ago. I think I can contribute a lot to this wiki.

Re: Beginner problems with solr.ICUCollationField

2015-05-13 Thread Shawn Heisey
On 5/13/2015 4:16 AM, Björn Keil wrote: > Thanks you for your help. That was only part of the problem, though.You also > need ${solr.install.dir}/dist/solr-analysis-extras-X.jar > where "X" is the version. > > The other two libraries are dependencies, but the do not contain the actual > ICUColla

Re: Reading an index while it is being updated?

2015-05-13 Thread Shawn Heisey
On 5/13/2015 1:03 AM, Guy Thomas wrote: > Up to now we’ve been using Lucene without Solr. > > The Lucene index is being updated and when the update is finished we > notify a Hessian proxy service running on the web server that wants to > read the index. When this proxy service is notified, the ser

Re: Unable to identify why faceting is taking so much time

2015-05-13 Thread Toke Eskildsen
On Wed, 2015-05-13 at 09:22 +, Abhishek Gupta wrote: > Yes we have that many documents (exact count: 522664425), but I am not > sure why that matters because what I understood from documentation is > that fc will only work on the documents filtered by filter query and > query. What the docume

Re: Beginner problems with solr.ICUCollationField

2015-05-13 Thread Björn Keil
Thanks you for your help. That was only part of the problem, though.You also need ${solr.install.dir}/dist/solr-analysis-extras-X.jar where "X" is the version. The other two libraries are dependencies, but the do not contain the actual ICUCollationField class. It might be helpful if that was m

Re: How is the most relevant document of each group chosen when group.truncate is used?

2015-05-13 Thread Andrii Berezhynskyi
Ok. Figured out it myself. Research has shown that when group.truncate (or collapsing query) is used then only head of the group is picked. That's why results are different. However group.facet gives facet results that I would want. The only thing that group.facet is very slow comparing to collapsi

Re: Unable to identify why faceting is taking so much time

2015-05-13 Thread Abhishek Gupta
Toke thanks for a quick reply. I am still confused, pls find the doubts I have inline: On Mon, May 11, 2015 at 1:22 PM Toke Eskildsen wrote: > On Mon, 2015-05-11 at 05:48 +, Abhishek Gupta wrote: > > According to this there are 137 records. Now I am faceting over these 137 > > records with f

RE: Transactional Behavior

2015-05-13 Thread Amr Ali
Hello Emir, But this is not a transaction because if some of the bulk I need to add is committed; they will be searchable. In a transaction I need to insert a bulk of data (all bulk data will be searchable once) or roll it back according to some business scenarios. -- Regards, Amr Ali City st

Upgrading from Solr 5.0.0 to Solr 5.1.0

2015-05-13 Thread Zheng Lin Edwin Yeo
Hi, As this is my first time planning to do an upgrade between different Solr version, would like to check, how should we go about doing the upgrade so that I can start up my Solr 5.1.0 with my config and index built on Solr 5.0.0? Like what files do I need to copy and what are the things to take

Setting system property

2015-05-13 Thread Clemens Wyss DEV
I'd like to make use of solr.allow.unsafe.resourceloading=true. Is the commandline "-D solr.allow.unsafe.resourceloading=true" the only way to inject/set this property or can it be done (e.g.) in solr.xml ? Thx Clemens

Re: utility methods to get field values from index

2015-05-13 Thread Parvesh Garg
Hi Shalin, Thanks for your answer. Forgot to mention that we are using 4.10 solr. Also, I tried using docValues and the performance was worse than getting it from stored values. Time taken to retrieve data for 2000 docs for 2 fields was 120 ms vs 230 ms previously and for docValues respectively.

Reading an index while it is being updated?

2015-05-13 Thread Guy Thomas
Up to now we've been using Lucene without Solr. The Lucene index is being updated and when the update is finished we notify a Hessian proxy service running on the web server that wants to read the index. When this proxy service is notified, the server knows it can read the updated index. Do we