Re: Dismax Question

2012-07-05 Thread Steve Fatula
It turns out that Solr 3.5.0 does not have the dismax issue, so, we have reverted. Hopefully, the bug will be fixed.

Regression of JIRA 1826?

2012-07-05 Thread Jamie Johnson
I just upgraded to trunk to try to fix an issue I was having with the highlighter described in JIRA 1826, but it appears that this issue still exists on trunk. I'm running the following query subject:ztest* subject is a text field (not multivalued) and the return in highlighting is ZTestForZTes

Re: Solr facet multiple constraint

2012-07-05 Thread davidbougearel
Well thanks for your answer, in fact i've written what the QueryResponse return as the solr query here is my real solr query before use the executeQuery : q=service%3A1+AND+publicationstatus%3ALIVE&sort=publishingdate+desc&fq=%7B%21ex%3Ddt%7D%28%28%28user%3A10%29%29%29&facet.field=%7B%21tag%3Ddt%7

Re: ExtendedDisMax Field Alias Question

2012-07-05 Thread Jamie Johnson
It's been some time since I've thought about this, but I wanted anyone interested to know I created the following JIRA asking for this feature. https://issues.apache.org/jira/browse/SOLR-3598 On Sat, May 26, 2012 at 9:28 PM, Jamie Johnson wrote: > Yeah cycles in general I agree are bad, but perh

Re: highlighting and wildcards

2012-07-05 Thread Jamie Johnson
Looks like this issue has already been fixed, sorry for the static. I will update and try again. On Thu, Jul 5, 2012 at 5:52 PM, Jamie Johnson wrote: > I am executing a query on a multivalued text field that has the value > of "ZtestForJamie". When I execute this query > > http://localhost:8501

Re: deleteById commitWithin question

2012-07-05 Thread Jamie Johnson
Thanks Yonik, glad that it is not an issue on Trunk. I'll see if our group is interested in updating now to take advantage of this. In the mean time we just issue a commit after we do deletes and that seems to be a sufficient workaround. On Thu, Jul 5, 2012 at 6:05 PM, Yonik Seeley wrote: > On

Re: Filtering a query by range returning unexpected results

2012-07-05 Thread Erick Erickson
For future reference, JIRA is here: https://issues.apache.org/jira/browse/SOLR-3595 Erick On Thu, Jul 5, 2012 at 4:19 PM, Andrew Meredith wrote: > Thanks! That worked. I re-built the index with my "prices" field being of > the tfloat type, and I am now able to perform range queries. I appreciate

Re: deleteById commitWithin question

2012-07-05 Thread Yonik Seeley
On Thu, Jul 5, 2012 at 5:12 PM, Jamie Johnson wrote: > Ok, so some more context, hopefully this is useful. > > I didn't think this was a SolrCloud issue but it appears to be. I > have a simple 2 shard set up, I add 1 document which goes to shard 1. > I then issue a delete to shard 2. The delete

Re: Solr 4.0 UI issue

2012-07-05 Thread Stefan Matheis
Hi, we are working on https://issues.apache.org/jira/browse/SOLR-3591 - so you may check the (raw) log output .. which may cause the UI showing this message. On Thursday, July 5, 2012 at 7:19 PM, anarchos78 wrote: > Greetings friends, > I just discovered today that there is a new solr release

Re: deleteById commitWithin question

2012-07-05 Thread Jamie Johnson
Ok, so some more context, hopefully this is useful. I didn't think this was a SolrCloud issue but it appears to be. I have a simple 2 shard set up, I add 1 document which goes to shard 1. I then issue a delete to shard 2. The delete gets there and I see the commit eventually being run in the log

RE: Update JSON format post 3.1?

2012-07-05 Thread Klostermeyer, Michael
Sorry...I found the answer in the comments of the previously mentioned Jira ticket. Apparently the proposed solution differed from the final one (the "doc" structure key is not needed, apparently). Mike -Original Message- From: Klostermeyer, Michael [mailto:mklosterme...@riskexchange.

Re: deleteById commitWithin question

2012-07-05 Thread Jamie Johnson
Thanks for the fast response. Yeah, it could be in either place either SolrJ or on the Server side. On Thu, Jul 5, 2012 at 4:47 PM, Yonik Seeley wrote: > On Thu, Jul 5, 2012 at 4:29 PM, Jamie Johnson wrote: >> I am running off of a snapshot taken 5/3/2012 of solr 4.0 and am >> noticing some iss

Re: deleteById commitWithin question

2012-07-05 Thread Yonik Seeley
On Thu, Jul 5, 2012 at 4:29 PM, Jamie Johnson wrote: > I am running off of a snapshot taken 5/3/2012 of solr 4.0 and am > noticing some issues around deleteById when a commitWithin parameter > is included using SolrJ Oh wait... I just realized you were talking about SolrJ specifically - so the is

Re: deleteById commitWithin question

2012-07-05 Thread Yonik Seeley
On Thu, Jul 5, 2012 at 4:29 PM, Jamie Johnson wrote: > I am running off of a snapshot taken 5/3/2012 of solr 4.0 and am > noticing some issues around deleteById when a commitWithin parameter > is included using SolrJ, specifically commit isn't executed.  If I > later just call commit on the solr i

deleteById commitWithin question

2012-07-05 Thread Jamie Johnson
I am running off of a snapshot taken 5/3/2012 of solr 4.0 and am noticing some issues around deleteById when a commitWithin parameter is included using SolrJ, specifically commit isn't executed. If I later just call commit on the solr instance I see the item is deleted though. Is anyone aware if

Re: Filtering a query by range returning unexpected results

2012-07-05 Thread Andrew Meredith
Thanks! That worked. I re-built the index with my "prices" field being of the tfloat type, and I am now able to perform range queries. I appreciate your help, Erick. On Tue, Jul 3, 2012 at 9:35 AM, Erick Erickson wrote: > OK, this appears to be something with the "currency" type. It works fine >

Re: Synonyms and Regions Taxonomy

2012-07-05 Thread Tri Cao
I don't think there's a synonym file for this use case. I am not even sure if synonym is the right way to handle it. I think the better way to improve recall is to mark up your documents with a "hidden" field of is the geographic relations. For example, before indexing, you can add a field to all

Re: what is the sequence of execution of solr query , is it right to left?

2012-07-05 Thread Erick Erickson
This question can't be answered correctly as asked. The query parser does not implement boolean logic directly, so any answer is pretty much wrong. Here's an excellent writeup of what the query parser actually does: http://www.lucidimagination.com/blog/2011/12/28/why-not-and-or-and-not/ As pointe

Re: solr-4.0 and high cpu usage

2012-07-05 Thread Erick Erickson
This is rather surprising. I know some defaults have changed between 1.4 and 4.0, so the first thing I'd do is try some of your sample queries with &debugQuery=on and compare the debug info to see if you're executing more complex queries without meaning to. Also, dismax is deprecated in favor of e

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Erick Erickson
No, it doesn't affect facet counts, grouping, or any of that stuff. After all, facets and grouping are only calculated for documents that satisfy a query, and deleted documents are, by definition, excluded from "satisfying a query". There are some subtle issues in scoring that can be affected, but

Update JSON format post 3.1?

2012-07-05 Thread Klostermeyer, Michael
Is there any official documentation on the JSON format Solr 3.5 expects when adding/updating documents via /update/json? Most of the official documentation is 3.1, and I am of the understanding this changed in v3.2 (https://issues.apache.org/jira/browse/SOLR-2496). I believe I have the correc

Re: alphanumeric interval

2012-07-05 Thread Cat Bieber
I did not use facets in my implementation, so I don't have any facet-specific code snippet that would be helpful to you. However, if your handler extends SearchHandler and calls super.handleRequestBody() it should be running the facet component code. You have access to the SolrQueryResponse bui

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Sohail Aboobaker
Thanks Eric, This is indeed what we are seeing. I hope we can just ignore the frequencies. Does it in any way effect facet counts for such records? Sohail

Re: Problems with elevation component configuration

2012-07-05 Thread Chris Warner
Hi, Igor, I also set forceElevation to true for my elevate results.  Cheers, Chris - Original Message - From: Igor Salma To: solr-user@lucene.apache.org Cc: Sent: Thursday, July 5, 2012 4:47 AM Subject: Problems with elevation component configuration Hi to all, we are using solr in

Re: solr-4.0 and high cpu usage [SOLVED]

2012-07-05 Thread Anatoli Matuskova
Found why! On Solr 1.4 dismax param mm defaults to 1 if not specified, which is equivalent to AND. On Solr 4.0 if mm is not specified, the default operator is used, which defaults to OR. That made return much more results for each query I was running, increasing the response time and the CPU usage.

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Erick Erickson
solr updates are really a delete followed by a re-index. The old terms are left in the index, but the associated document is marked as deleted. Schema browser, for instance, will happily report frequencies > 1 for s when a document has been updated. You can ignore this if you query on the schemaId

Re: data Model/UML diagrams/Class diagrams.

2012-07-05 Thread Anuj Kumar
Hi Prasad, If you have the source code, why not reverse engineer the UML diagrams- http://stackoverflow.com/questions/51786/recommended-eclipse-plugins-to-generate-uml-from-java-code Regards, Anuj On Thu, Jul 5, 2012 at 6:42 PM, prasad deshpande < prasad.deshpand...@gmail.com> wrote: > Is there

RE: Any ideas on Solr 4.0 Release.

2012-07-05 Thread Steven A Rowe
Hi Sohail, Some of your questions are answered here: . See Chris Hostetter's blog post for more info, particularly on questions around stability: . Steve -Original Message--

Re: Solr facet multiple constraint

2012-07-05 Thread Erick Erickson
Well, to start with this query is totally messed up. facet=true,sort=publishingdate desc,facet.mincount=1,q=service:1 AND publicationstatus:LIVE,facet.field={!ex=dt}user,wt=javabin,fq={!tag=dt}user:10,version=2 You've put in commas where you should have ampersands to separate parameters=value pai

Re: Boosting the whole documents

2012-07-05 Thread Erick Erickson
Can we see the query and the output with &debugQuery=on? Look especially for ConstantScoreQuery in the debug output, if you do certain searches then all the boosting stuff is ignored, e.g. *:*. Best Erick On Wed, Jul 4, 2012 at 9:39 AM, Danilak Michal wrote: > Hi, > > I have the following proble

Re: How negative queries are handled with edismax parser?

2012-07-05 Thread Erick Erickson
Have you looked at the results with &debugQuery=on? I admit it takes a while to get the hang of reading the debug output, but it will probably give you a good idea of what's going on Best Erick On Tue, Jul 3, 2012 at 7:46 AM, Alok Bhandari wrote: > Hello, > > I am using and edismax parser, when

Re: data Model/UML diagrams/Class diagrams.

2012-07-05 Thread prasad deshpande
Is there any who can help me? On Thu, Jul 5, 2012 at 10:10 AM, prasad deshpande < prasad.deshpand...@gmail.com> wrote: > I would like to understand how solr/lucene/Tika frameworks designed. Where > would I get the class diagram/UML diagrams to better understand the > solr/lucene/Tika. > I have th

Problems with elevation component configuration

2012-07-05 Thread Igor Salma
Hi to all, we are using solr in combination with nutch and there are multiple cores defined under solr. From some reason we can't configure elevation request handler. We followed the instruction on http://wiki.apache.org/solr/QueryElevationComponent, only changed node for queryFieldType to work wi

solr-4.0 and high cpu usage

2012-07-05 Thread Anatoli Matuskova
Hello, I'm testing solr-4.0-alpha compared to 1.4. My index is optimized to one segment. I've seen a decrease in memory usage but a very high increase in CPU. This high cpu usage ends up giving me slower response times with 4.0 than 1.4 The server I'm using: Linux version 2.6.30-2-amd64 16 2.26GHz

Synonyms and Regions Taxonomy

2012-07-05 Thread Stephen Lacy
When a user types in South America they want to be able to see documents containing Brazil, Chile etc. No I have already thrown together a list of countries and continents however I'm a little more ambitious, I would like to get a lot more regions such as american states as well or Former members o

Re: Use of Solr as primary store for search engine

2012-07-05 Thread Sohail Aboobaker
In many e-commerce sites, most of data that we display (except images) especially in grids and lists is minimal. We were inclined to use Solr as data store for only displaying the information in grids. We stopped only due to non-availability of joins in Solr3.5. Since, our data (like any other rela

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Savvas Andreas Moysidis
can you post the schema you are applying pls? On 5 July 2012 11:28, Sohail Aboobaker wrote: > Another observation is that when we query an individual schemaid, it > returns only one row using the search interface. Why would frequency be > more than 1?

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Sohail Aboobaker
Another observation is that when we query an individual schemaid, it returns only one row using the search interface. Why would frequency be more than 1?

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Sohail Aboobaker
We have defined the schemaid as String. It has concatenated value of the product id and language. It takes the form of ID-EN. For example: '123012-EN', '124020-EN', '12392-FR'. Sohail

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Savvas Andreas Moysidis
Hello, Make sure your unique id has a type which always yields one token after tokenisation is applied (e.g. either "string" or a type which only defines the KeywordTokenizer in its chain) Regards, Savvas On 5 July 2012 11:02, Sohail Aboobaker wrote: > Hi, > > We have defined a unique key as sc

Frequency of Unique Id displayed more than 1

2012-07-05 Thread Sohail Aboobaker
Hi, We have defined a unique key as schemaid. We add documents using server.addBean(obj) method. We are using the same method for updates as well. When browsing the schema, we see that some of the schemaid values have frequency of more than 1. Since, schemaid column is defined as unique key, we ar

Any ideas on Solr 4.0 Release.

2012-07-05 Thread Sohail Aboobaker
Hi, Congratulations on Alpha release. I am wondering is there a ball park on final release for 4.0? Is it expected in August or Sep time frame or is it further away? We badly need some features included in this release. These are around grouped facet counts. We have limited use for Solr in our cur

Re: Trunk error in Tomcat

2012-07-05 Thread Stefan Matheis
Great, thanks Vadim On Thursday, July 5, 2012 at 9:34 AM, Vadim Kisselmann wrote: > Hi Stefan, > ok, i would test the latest version from trunk with tomcat in next > days and open an new issue:) > regards > Vadim > > > 2012/7/3 Stefan Matheis (mailto:matheis.ste...@googlemail.com)>: > > On T

Re: alphanumeric interval

2012-07-05 Thread AlexR
Hi, thanks a lot for your answer, and sorry for my late response. It's my first time to write a solr plugin. I already have a plugin with empty handleRequestBody() method and i'm able to call them. I need the list of facetted field person (facet.field=person) in my method. but i don't know how.

Re: Search for abc AND *foo* return all docs for abc which do not have foo why?

2012-07-05 Thread Alok Bhandari
It is my mistake, the field which I was referring to was non existing so this effect is shown. Sorry for the stupid question I have asked :-) -- View this message in context: http://lucene.472066.n3.nabble.com/Search-for-abc-AND-foo-return-all-docs-for-abc-which-do-not-have-foo-why-tp3993138p3993

Re: Get all matching terms of an OR query

2012-07-05 Thread Michael Jakl
Thank you! On 4 July 2012 17:37, Jack Krupansky wrote: > What exactly is it that is too slow? I was comparing Queries with "debugQuery" enabled and disabled. The difference was 60 seconds to 30 seconds for some (unusual) large Queries (many Terms over a large set of documents chosen by filter qu

Re: Trunk error in Tomcat

2012-07-05 Thread Vadim Kisselmann
Hi Stefan, ok, i would test the latest version from trunk with tomcat in next days and open an new issue:) regards Vadim 2012/7/3 Stefan Matheis : > On Tuesday, July 3, 2012 at 8:10 PM, Vadim Kisselmann wrote: >> sorry, i overlooked your latest comment with the new issue in SOLR-3238 ;) >> Should

Re: How to change tmp directory

2012-07-05 Thread Erik Fäßler
Ah - allright, that's it! Thank you! Erik Am 04.07.2012 um 17:59 schrieb Jack Krupansky: > Solr is probably simply using Java's temp directory, which you can redefine > by setting the java.io.tmpdir system property on the java command line or > using a system-specific environment variable. >