Re: Collection ID in Solr?

2015-06-04 Thread Erick Erickson
In a word, no. Why do you change the collection name? If you're doing some sort of switching the collection, consider collection aliasing. Best, Erick On Thu, Jun 4, 2015 at 8:53 PM, Zheng Lin Edwin Yeo edwinye...@gmail.com wrote: Hi, Would like to check, does all the collections in Solr have

Re: List all Collections together with number of records

2015-06-04 Thread Erick Erickson
Have you considered spawning a bunch of threads, one per collection and having them all run in parallel? Best, Erick On Thu, Jun 4, 2015 at 4:52 PM, Zheng Lin Edwin Yeo edwinye...@gmail.com wrote: The reason we wanted to do a single call is to improve on the performance, as our application

Re: Collection ID in Solr?

2015-06-04 Thread Zheng Lin Edwin Yeo
Hi Erick, The reason is we want to allow flexibility to change the collection name based on the needs of the users. For the collection aliasing, does this mean that the user will reference the collection by the alias name instead of the collection name, but at the backend we will still reference

Collection ID in Solr?

2015-06-04 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, does all the collections in Solr have an ID that is stored internally which we can reference to? Currently I believe we are using the name of the collection when we are querying to the collection, and this can be modified as and when is required. Whenever this is

Re: Peer Sync fails when newly added node is elected leader.

2015-06-04 Thread Shalin Shekhar Mangar
Why do you stop the cluster while adding a node? This is the reason why this is happening. When the first node of a solr cluster starts up, it waits for some time to see other nodes but if it finds none then it goes ahead and becomes the leader. If other nodes were up and running then peer sync

Re: Peer Sync fails when newly added node is elected leader.

2015-06-04 Thread Erick Erickson
And to pile on Shalin's comments, there is absolutely no reason to try to pre-configure the replica on the new node, and quite a bit of downside as you are finding. Just add the new node without any cores and use the ADDREPLICA command to cause create replicas. Best, Erick On Thu, Jun 4, 2015 at

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Shalin Shekhar Mangar
Since you are moving to Solr 5.x, have you seen https://cwiki.apache.org/confluence/display/solr/Adding+Custom+Plugins+in+SolrCloud+Mode ? On Fri, Jun 5, 2015 at 4:03 AM, Vaibhav Bhandari vaibhav.bhandar...@gmail.com wrote: Thanks for the quick response Shawn. That worked! I wish this was

Re: List all Collections together with number of records

2015-06-04 Thread Zheng Lin Edwin Yeo
I'm trying to write a SolrJ program in Java to read and consolidate all the information into a JSON file, The client will just need to call this SolrJ program and read this JSON file to get the details. But the problem is we are still querying the Solr once for each collection, just that this time

docValues in solr/lucene 4.8.x

2015-06-04 Thread pras.venkatesh
I see docValues has been there since Lucene 4.0. so can I use docValues with my current solr cloud version of 4.8.x The reason I am asking is because, I have deployment mechanism and securing the index (using Tomcat valve) all built out based on Tomcat which I need figure out all the way again

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Vaibhav Bhandari
Thanks for the quick response Shawn. That worked! I wish this was documented though. -Vaibhav On Thu, Jun 4, 2015 at 11:22 AM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 12:01 PM, Vaibhav Bhandari wrote: With Solr 5.X, however, I am finding it hard to include my custom-plugin

Re: List all Collections together with number of records

2015-06-04 Thread Zheng Lin Edwin Yeo
The reason we wanted to do a single call is to improve on the performance, as our application requires to list the total number of records in each of the collections, and the number of records that matches the query each of the collections. Currently we are querying each collection one by one to

Peer Sync fails when newly added node is elected leader.

2015-06-04 Thread Michael Roberts
Hi, I am seeing some unexpected behavior when adding a new machine to my cluster. I am running 4.10.3. My setup has multiple collections, each collection has a single shard. I am using core auto discovery on the hosts (my deployment mechanism ensures that the directory structure is created

Re: Ability to load solrcore.properties from zookeeper

2015-06-04 Thread Chris Hostetter
: passed in as a Properties object to the CD constructor. At the moment, : you can't refer to a property defined in solrcore.properties within your : core.properties file. but if you look at it fro ma historical context, that doesn't really matter for the purpose that solrcore.properties was

Re: SOLR Windows

2015-06-04 Thread Erick Erickson
No servlet container is needed at all. We're moving away from distributing a war file in the future, Solr 5x still distributes a war for back-compat reasons. The preferred method is now to use the bin/solr start script. Under the covers this still uses Jetty, but that is now an implementation

Re: Solr Atomic Updates by Query

2015-06-04 Thread Erick Erickson
Not to my knowledge. In Solr terms this would be a _very_ heavyweight operation, potentially re-indexing millions and millions of documents. Imagine if your q were id:* for instance. Plus routing that to all shards and dealing with other updates coming in would be a nightmare. Best, Erick On

Re: indexing issue

2015-06-04 Thread Midas A
sorry Shawn , a) Total docs solr is handling is 3 million . b) index size is only 5 GB On Thu, Jun 4, 2015 at 9:35 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 7:38 AM, Midas A wrote: On Thu, Jun 4, 2015 at 6:48 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 5:15

Re: Solr Atomic Updates

2015-06-04 Thread Erick Erickson
NP. It's something of a step when moving to SolrCloud to let go of the details you've had to (painfully) pay attention to, but worth it. The price is, of course, learning to do things a new way ;)... Best, Erick On Thu, Jun 4, 2015 at 10:04 AM, Ксения Баталова batalova...@gmail.com wrote:

Re: indexing issue

2015-06-04 Thread Shawn Heisey
On 6/4/2015 11:12 AM, Midas A wrote: sorry Shawn , a) Total docs solr is handling is 3 million . b) index size is only 5 GB If your total index size is only 5GB, then there should be no need for a 30GB heap. For that much index, I'd start with 4GB, and implement GC tuning. A high iowait

Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Vaibhav Bhandari
Hi, I am trying to upgrade Solr 4.X to Solr 5.1.0. I am using Maven to compile solr. Previously, I was packing my custom-plugin jars with solr.war and everything worked fine. With Solr 5.X, however, I am finding it hard to include my custom-plugin jars in the classpath. I am using bin/solr

Re: Solr Atomic Updates by Query

2015-06-04 Thread Ксения Баталова
Is it planned soon? Or may be not soon.. _ _ _ Batalova Kseniya There is no equivalent of, say a SQL update...where... so no, atomic updates by query... Best, Erick On Thu, Jun 4, 2015 at 2:49 AM, Ксения Баталова batalova...@gmail.com wrote: Hi! I have one more question about atomic

Re: indexing issue

2015-06-04 Thread Midas A
Shwan, Please find the log . give me some sense what is happening On Thu, Jun 4, 2015 at 10:56 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 11:12 AM, Midas A wrote: sorry Shawn , a) Total docs solr is handling is 3 million . b) index size is only 5 GB If your total index

Re: BoolField fieldType

2015-06-04 Thread Chris Hostetter
: I took a quick look at the code and it _looks_ like any string : starting with t, T or 1 is evaluated as true and everything else : as false. correct and documented... https://cwiki.apache.org/confluence/display/solr/Field+Types+Included+with+Solr : sortMissingLast determines sort order if

Re: Shard still around after calling splitshard

2015-06-04 Thread Mike Thomsen
Thanks. I thought it worked like that, but didn't want to jump to conclusions. On Thu, Jun 4, 2015 at 1:42 PM, Anshum Gupta ans...@anshumgupta.net wrote: Hi Mike, Once the SPLITSHARD call completes, it just marks the original shard as Inactive i.e. it no longer accepts requests. So yes, you

Re: Solr Atomic Updates

2015-06-04 Thread Ксения Баталова
Hope I'll succeed) Anyway, solr-user community surprised me in a good way. Thanks again. _ _ Batalova Kseniya NP. It's something of a step when moving to SolrCloud to let go of the details you've had to (painfully) pay attention to, but worth it. The price is, of course, learning to do

Re: Shard still around after calling splitshard

2015-06-04 Thread Anshum Gupta
Hi Mike, Once the SPLITSHARD call completes, it just marks the original shard as Inactive i.e. it no longer accepts requests. So yes, you would have to use DELETESHARD ( https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api7) to clean it up. As far as what you see

Re: BoolField fieldType

2015-06-04 Thread Chris Hostetter
: What about at query time? If I index my Boolean and it has one of the : variations of t, T or 1, what should my query be to get a hit on : true? q=MyBoolField:what ? What should the value of what be when I : want to check if the field has a true and when I need to check if it has : a false?

Re: indexing issue

2015-06-04 Thread Midas A
we are indexing around 5 docs par 10 min . On Thu, Jun 4, 2015 at 11:02 PM, Midas A test.mi...@gmail.com wrote: Shwan, Please find the log . give me some sense what is happening On Thu, Jun 4, 2015 at 10:56 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 11:12 AM, Midas A

Shard still around after calling splitshard

2015-06-04 Thread Mike Thomsen
I thought splitshard was supposed to get rid of the original shard, shard1, in this case. Am I missing something? I was expecting the only two remaining shards to be shard1_0 and shard1_1. The REST call I used was /admin/collections?collection=default-collectionshard=shard1action=SPLITSHARD if

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Shawn Heisey
On 6/4/2015 12:01 PM, Vaibhav Bhandari wrote: With Solr 5.X, however, I am finding it hard to include my custom-plugin jars in the classpath. I am using bin/solr script to start up Solr. I have tried a few things: 1. Passing the path of custom jars as -Djava.class.path=full-path 2.

Re: When using Dismax, Solr 5.1 tries to compare the entire field to the search string, instead of only using keywords

2015-06-04 Thread Wouter Admiraal
Thanks for the reply. So, as an aside, should I remove the solr.WhitespaceTokenizerFactory and solr.WordDelimiterFilterFactory from the query analyzer part? Any idea in which direction I should poke around? I deactivated dismax for now, but would really like to use it. Wouter Admiraal

Re: indexing issue

2015-06-04 Thread Shawn Heisey
On 6/4/2015 7:38 AM, Midas A wrote: On Thu, Jun 4, 2015 at 6:48 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 5:15 AM, Midas A wrote: I have some indexing issue . While indexing IOwait is high in solr server and load also. My first suspect here is that you don't have enough RAM for

Re: Index optimize runs in background.

2015-06-04 Thread Erick Erickson
Can't get any failures to happen on my end so I really haven't a clue. Best, Erick On Thu, Jun 4, 2015 at 3:17 AM, Modassar Ather modather1...@gmail.com wrote: Hi, Please provide your inputs on optimize and commit running as background. Your suggestion will be really helpful. Thanks,

SOLR Windows

2015-06-04 Thread Doug Ford
Hi folks - Quick question: Is TomCat needed on Windows Server 2012 before I install SOLR 5.1? Thanks Doug

Re: When using Dismax, Solr 5.1 tries to compare the entire field to the search string, instead of only using keywords

2015-06-04 Thread Erik Hatcher
The debug parsed queries for the various ways you've tried it would be helpful. dismax uses the query analysis of each of the fields and the fact that label does not appear lowercased indicates something fishy like changing the definition after indexing maybe. Try the admin analysis UI for

Re: How to identify field names from the suggested values in multiple fields

2015-06-04 Thread Erick Erickson
There shouldn't be any limitation. You haven't provided the full stack trace, so there's not a lot to say. Do be a little careful, though, since the parameters are slightly different for analyzingInfix, i.e. indexPath rather than sotreDir. Best, Erick On Thu, Jun 4, 2015 at 4:55 AM, Dhanesh

Re: Solr Atomic Updates

2015-06-04 Thread Ксения Баталова
Erick, Thank you so much. It became a bit clearer. It was decided to upgrade Solr to 5.2 and use SolrCloud in our next release. I think I'll write here about it yet :) _ _ Batalova Kseniya I have to ask then why you're not using SolrCloud with multiple shards? It seems to me that that gives

Re: How can I parse the TermVectorComponent response in SolrJ

2015-06-04 Thread Majid Laali
Hi, Based on a few hours googling, I concluded that there is no class in SOLR 5.1 that can parser JSON response of The Term Vector Component. I am not sure if it is fine to create an issue in the SOLR JIRA website and make patch to address it. I would be grateful to get any advice for that.

Re: BoolField fieldType

2015-06-04 Thread Erick Erickson
Have you tried it? Really, it should take you 2 minutes to add a doc and see. I'd guess it follows the same rules. Best, Erick On Thu, Jun 4, 2015 at 5:29 AM, Steven White swhite4...@gmail.com wrote: Thanks Erick. What about at query time? If I index my Boolean and it has one of the

Re: List all Collections together with number of records

2015-06-04 Thread Erick Erickson
Not in a single call that I know of. These are really orthogonal concepts. Getting the cluster status merely involves reading the Zookeeper clusterstate whereas getting the total number of docs for each would involve querying each collection, i.e. going to the Solr nodes themselves. I'd guess it's

Re: Solr Atomic Updates by Query

2015-06-04 Thread Erick Erickson
There is no equivalent of, say a SQL update...where... so no, atomic updates by query... Best, Erick On Thu, Jun 4, 2015 at 2:49 AM, Ксения Баталова batalova...@gmail.com wrote: Hi! I have one more question about atomic updates in Solr (Solr 4.4.0). Is it posible to generate atomic update by

Re: retrieving large number of docs

2015-06-04 Thread Robust Links
my requirement is to join core1 onto core0. restating the requirements again. I have 2 cores core0 field:id field: text core1 field:id field tag I want to 1) query text field of core0, together with filters 2) use the {id} of matches (which can be 10K) to retrieve the docs

Re: When using Dismax, Solr 5.1 tries to compare the entire field to the search string, instead of only using keywords

2015-06-04 Thread Wouter Admiraal
Hi, thanks for the response. Label field: field name=label type=text indexed=true stored=true termVectors=true omitNorms=true/ fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter

Re: retrieving large number of docs

2015-06-04 Thread Alessandro Benedetti
Hi Rob, according to your use case you have to : Call the /select from *core1 *in this way* :* *core1*/select?fl=titleq={!join from=id to=id fromIndex=*core0*} titleNormalized:pdffacet=truefacet.field=tags Hope this clarify your problem. Cheers 2015-06-04 15:00 GMT+01:00 Robust Links

Re: Derive suggestions across multiple fields

2015-06-04 Thread Alessandro Benedetti
Please remember this : to be used as the basis for a suggestion, the field must be stored From the official guide. Cheers 2015-06-04 11:19 GMT+01:00 Alessandro Benedetti benedetti.ale...@gmail.com : If you are using an existing indexed field to provide suggestions, you simply need to build

List all Collections together with number of records

2015-06-04 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, are we able to use the Collection API or any other method to list all the collections in the cluster together with the number of records in each of the collections in one output? Currently, I only know of the List Collections /admin/collections?action=LIST. However, this

Re: When using Dismax, Solr 5.1 tries to compare the entire field to the search string, instead of only using keywords

2015-06-04 Thread Jack Krupansky
The empty parentheses in the parsed query says something odd is going on with query-time analysis, that is essentially generating an empty term. That may not be the cause of your specific issue, but at least its says that something is unexplained here. Generally, there is an asymmetry between the

Re: retrieving large number of docs

2015-06-04 Thread Robust Links
that worked but seem unable to run 1) phrase queries: i.e. *core1*/select?fl=titleq={!join from=id to=id fromIndex=*core0*} titleNormalized:*text pdf*facet=truefacet.field=tags or 2) run filters on core0 *core1*/select?fl=titleq={!join from=id to=id fromIndex=*core0*} titleNormalized:*text

Re: Derive suggestions across multiple fields

2015-06-04 Thread Zheng Lin Edwin Yeo
Thank you so much for your advice. Regards, Edwin On 4 June 2015 at 22:30, Alessandro Benedetti benedetti.ale...@gmail.com wrote: Please remember this : to be used as the basis for a suggestion, the field must be stored From the official guide. Cheers 2015-06-04 11:19 GMT+01:00

When using Dismax, Solr 5.1 tries to compare the entire field to the search string, instead of only using keywords

2015-06-04 Thread Wouter Admiraal
Hi all. Sorry about the title, but I don't know how to be more explicit than that. I am updating a Solr 1.4 install to Solr 5.1. I went through all the changes, updated my schema.xml, etc. Everything works (I re-indexed instead of migrating the existing one). I can search for documents, no

Re: Derive suggestions across multiple fields

2015-06-04 Thread Dhanesh Radhakrishnan
Try this http://localhost:8983/solr/collection1/suggest?suggest=truesuggest.dictionary=suggestsuggest.build=truewt=xmlsuggest.q=mater On Thu, Jun 4, 2015 at 11:53 AM, Zheng Lin Edwin Yeo edwinye...@gmail.com wrote: I've tried to use the solr.SuggestComponent as stated in the website, but it

Re: Derive suggestions across multiple fields

2015-06-04 Thread Zheng Lin Edwin Yeo
I've tried to use the solr.SuggestComponent as stated in the website, but it couldn't work. When I change to using the suggest with the configuration below and go a query like http://localhost:8983/solr/collection1/suggest?q=mater, it says The Webpage cannot be found searchComponent

Re: retrieving large number of docs

2015-06-04 Thread Alessandro Benedetti
Hi Rob, Reading your use case I can not understand why the Query Time join is not a fit for you ! The documents returned by the Query Time Join will be from core1, so faceting and filter querying that core, would definitely be possible ! I can not see your problem honestly ! Cheers 2015-06-04

Re: Derive suggestions across multiple fields

2015-06-04 Thread Zheng Lin Edwin Yeo
I think I'm confused with the old spellcheck approach that came out more frequently during my research. Just to confirm, do I need to re-index the data in order for this new approach to work if I'm using an existing field? Regards, Edwin On 4 June 2015 at 16:58, Alessandro Benedetti

Re: Solr Atomic Updates by Query

2015-06-04 Thread Ксения Баталова
Oh, I see. May be it's not such a good idea.) Thanks. _ _ Batalova Kseniya Not to my knowledge. In Solr terms this would be a _very_ heavyweight operation, potentially re-indexing millions and millions of documents. Imagine if your q were id:* for instance. Plus routing that to all shards

Solr Tomcat or CURL

2015-06-04 Thread Ксения Баталова
Hi! Need help with Solr 4.4.0 + Tomcat 7 + CURL. I send many elementary select-queries to Solr core: http://localhost/solr/Core1/select?q=id:(TestDoc1)wt=xmlindent=true May be this is Tomcat or CURL problem: after couple of seconds of regular queries it returns empty response. Requests are sent

Re: Derive suggestions across multiple fields

2015-06-04 Thread Zheng Lin Edwin Yeo
This is the result that I get from the query URL you mentioned. Still not able to get any output. ?xml version=1.0 encoding=UTF-8? response lst name=responseHeader int name=status0/int int name=QTime0/int lst name=params str name=suggest.buildtrue/str str

Re: Derive suggestions across multiple fields

2015-06-04 Thread Alessandro Benedetti
Let me try to clarify the things… Because you are using solr 5.1 I can not see any reason to try to use the old spellcheck approach. If you take a look to the page me and Erick quoted there is a simple config example : searchComponent name=suggest class=solr.SuggestComponent lst name=suggester

Re: How to identify field names from the suggested values in multiple fields

2015-06-04 Thread Erick Erickson
Yes, this might help: http://lucidworks.com/blog/solr-suggester/ Best, Erick On Wed, Jun 3, 2015 at 10:32 PM, Dhanesh Radhakrishnan dhan...@hifx.co.in wrote: Thank you for the quick response. If I use 2 suggesters, can I get the result in a single request?

Re: Derive suggestions across multiple fields

2015-06-04 Thread Alessandro Benedetti
If you are using an existing indexed field to provide suggestions, you simply need to build the suggester and start using it ! No re-indexing needed . Cheers 2015-06-04 11:01 GMT+01:00 Zheng Lin Edwin Yeo edwinye...@gmail.com: I think I'm confused with the old spellcheck approach that came out

Solr Atomic Updates by Query

2015-06-04 Thread Ксения Баталова
Hi! I have one more question about atomic updates in Solr (Solr 4.4.0). Is it posible to generate atomic update by query? I mean I want to update those documents in which IDs contain some string. For example, index has: Doc1, id=123|a,b Doc2, id=123|a,c Doc3, id=345|a,b Doc4, id=345|a,c,d. And

Running Solr 5.1.0 as a Service on Windows

2015-06-04 Thread Guillaume Belrose
Hi, I've successfully used procrun (see http://commons.apache.org/proper/commons-daemon/procrun.html) to wrap Solr 5.1 solr.cmd script as a Windows service (I’ve only tested on Windows 2008 R2). Previously, I was using Procrun to manage Jetty services running the Solr.war from older

Re: Index optimize runs in background.

2015-06-04 Thread Modassar Ather
Hi, Please provide your inputs on optimize and commit running as background. Your suggestion will be really helpful. Thanks, Modassar On Tue, Jun 2, 2015 at 6:05 PM, Modassar Ather modather1...@gmail.com wrote: Erick! I could not find any underlying setting of 10 minutes. It is not only

indexing issue

2015-06-04 Thread Midas A
I have some indexing issue . While indexing IOwait is high in solr server and load also.

Re: indexing issue

2015-06-04 Thread Toke Eskildsen
On Thu, 2015-06-04 at 16:45 +0530, Midas A wrote: I have some indexing issue . While indexing IOwait is high in solr server and load also. Might be because you commit too frequently. How often do you do that? - Toke Eskildsen, State and University Library, Denmark

Re: How to identify field names from the suggested values in multiple fields

2015-06-04 Thread Dhanesh Radhakrishnan
Dear Erick, That document help me to build multiple suggesters But still there is one problem that I faced. When I used both suggesters with same lookupImpl as AnalyzingInfixLookupFactory str name=lookupImplAnalyzingInfixLookupFactory/str solr throws an error Caused by:

Apache Solr Stack Trace Admin

2015-06-04 Thread Adam Hall
Hi there, We have installed apache solr 3.6.2 for our Magento Enterprise sales platform (unfortunately its the only version Enterprise supports), however, when navigating the admin interface we keep stumbling across stack traces: PWC6033: Unable to compile class for JSP PWC6197: An error

Re: indexing issue

2015-06-04 Thread Alessandro Benedetti
I think this mail is really poor in term of details. Which version of Solr are you using ? Architecture ? Load expected ? Indexing approach ? When does your problem happens ? More detail we give, easier will be to provide help. Cheers 2015-06-04 12:19 GMT+01:00 Toke Eskildsen

Re: indexing issue

2015-06-04 Thread Midas A
Thanks for replying below is commit frequency autoCommit maxTime6/maxTime !-- currently 1 min, old value is 15000 -- openSearcherfalse/openSearcher /autoCommit autoSoftCommit maxTime60/maxTime !-- currently 10 min, old value is 500 -- / autoSoftCommit On Thu, Jun 4, 2015 at 4:49 PM,

Re: indexing issue

2015-06-04 Thread Midas A
Thanks Alessandro, Please find the info inline . Which version of Solr are you using : 4.2.1 - Architecture : Master -slave Load expected : currently it is 7- 15 should be below 1 Indexing approach : Using DIH When does your problem happens : we run delta import every 10 mins full index

Re: indexing issue

2015-06-04 Thread Alessandro Benedetti
Honestly your auto-commit configuration seems not alarming at all! Can you give me more details regarding : Load expected : currently it is 7- 15 should be below 1 What does this mean ? Without a unit of measure i find hard to understand plain numbers :) was expecting the number of documents

Re: retrieving large number of docs

2015-06-04 Thread Robust Links
try it for yourself and see if it works Alessandro. Not only cant i get facets but i even get field errors when i run such join queries select?fl=titleq={!join from=id to=id fromIndex=Tags}titleNormalized:pdf lst name=error str name=msgundefined field titleNormalized/str int name=code400/int

Re: BoolField fieldType

2015-06-04 Thread Steven White
Thanks Erick. What about at query time? If I index my Boolean and it has one of the variations of t, T or 1, what should my query be to get a hit on true? q=MyBoolField:what ? What should the value of what be when I want to check if the field has a true and when I need to check if it has a

Re: Disable or limit the size of Lucene field cache

2015-06-04 Thread pras.venkatesh
A follow up question, I see docValues has been there since Lucene 4.0. so can I use docValues with my current solr cloud version of 4.8.x The reason I am asking is because, I have deployment mechanism and securing the index (using Tomcat Valves) all built out based on Tomcat which I need figure

Re: When using Dismax, Solr 5.1 tries to compare the entire field to the search string, instead of only using keywords

2015-06-04 Thread Shawn Heisey
On 6/4/2015 1:22 AM, Wouter Admiraal wrote: When I turn on debug, I get the following: debug: { rawquerystring: Food, querystring: Food, parsedquery: (+DisjunctionMaxQuery((label:Food^3.0)) ())/no_coord, parsedquery_toString: +(label:Food^3.0) (), explain: {}, QParser:

Re: Apache Solr Stack Trace Admin

2015-06-04 Thread Shawn Heisey
On 6/4/2015 5:32 AM, Adam Hall wrote: We have installed apache solr 3.6.2 for our Magento Enterprise sales platform (unfortunately its the only version Enterprise supports), however, when navigating the admin interface we keep stumbling across stack traces: PWC6033: Unable to compile

Re: indexing issue

2015-06-04 Thread Midas A
Hi Alessandro, On Thu, Jun 4, 2015 at 5:19 PM, Alessandro Benedetti benedetti.ale...@gmail.com wrote: Honestly your auto-commit configuration seems not alarming at all! Can you give me more details regarding : Load expected : currently it is 7- 15 should be below 1 *[Abhishek] : solr

Re: indexing issue

2015-06-04 Thread Shawn Heisey
On 6/4/2015 5:15 AM, Midas A wrote: I have some indexing issue . While indexing IOwait is high in solr server and load also. My first suspect here is that you don't have enough RAM for your index size. * How many total docs is Solr handling (all cores)? * What is the total size on disk of all

Re: retrieving large number of docs

2015-06-04 Thread Alessandro Benedetti
Lets try to make clear some point : Index TO : is the one you are using to call the select request handler Index From : Tags Is titleNormalized present in the Tags index ? Because there is where the query will run. The documents in tags satisfying the query will be joined with the index TO . The

Re: indexing issue

2015-06-04 Thread Midas A
Hi shawn, Please find comment in line. On Thu, Jun 4, 2015 at 6:48 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/4/2015 5:15 AM, Midas A wrote: I have some indexing issue . While indexing IOwait is high in solr server and load also. My first suspect here is that you don't have enough