Re: query issue /special character and case

2009-06-05 Thread Shalin Shekhar Mangar
On Sat, May 30, 2009 at 9:48 AM, revas wrote: > Hi , > > When i give a query like the following ,why does it become a phrase query > as shown below? > The field type is the default text field in the schema. > > volker-blanz > PhraseQuery(content:"volker blanz") > What is the query that was sent

Re: Refresh synonyms.txt file via replication

2009-06-05 Thread Shalin Shekhar Mangar
On Sat, May 30, 2009 at 6:45 AM, mlathe wrote: > > I would like to provide an admin interface (in a different system) that > would update the synonyms.txt file and automatically inform a set of Solr > instances that are being replicated to update their synonyms.txt file too. > > This discussion s

Re: Custom Values in dataimport.properties

2009-06-05 Thread Shalin Shekhar Mangar
On Sat, May 30, 2009 at 3:58 AM, wojtekpia wrote: > > I'd like to include a data version in my index, and it looks like > dataimport.properties would be a nice place for it. Is there a way to add a > custom name-value pair to that file? > No, I don't think so. We could add that feature or you ca

Re: NPE on MERGEINDEXES

2009-06-05 Thread Shalin Shekhar Mangar
This should be fixed in trunk now. 2009/6/1 Koji Sekiguchi > Reopened SOLR-1051: > > https://issues.apache.org/jira/browse/SOLR-1051?focusedCommentId=12715030&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12715030 > > Koji > > Koji Sekiguchi wrote: > > Maybe I di

Re: Error sorting random field with June 1, 2009 Solr 1.4 nightly

2009-06-05 Thread Shalin Shekhar Mangar
On Tue, Jun 2, 2009 at 4:50 AM, Robert Purdy wrote: > > Hey all, > > I was just wondering if anyone else is getting an error with today's > nightly > while sorting the random field. > > Thanks Rob. > > Jun 1, 2009 4:52:37 PM org.apache.solr.common.SolrException log > SEVERE: java.lang.NullPointer

Re: Filter query results do not match facet counts

2009-06-05 Thread Shalin Shekhar Mangar
On Tue, Jun 2, 2009 at 6:51 AM, shopDave wrote: > > I am using the 2009-05-27 build of solr 1.4. Under this build, I get a > facet > count on my category field named "Seasonal" of 7 values. However, when I > do > a filter query of 'fq=cat:"Seasonal"', I get only 1 result. > Your field is named

Re: Does Solr know what host and port it is running on?

2009-06-05 Thread Shalin Shekhar Mangar
On Sat, Jun 6, 2009 at 9:58 AM, Grant Ingersoll wrote: > Does Solr know what host and port it is running on and, if so, how do I get > access to it programmatically? I feel like I'm missing something obvious. > No, it does not. You can only get this on the first request. There's an issue open

Re: Does Solr know what host and port it is running on?

2009-06-05 Thread Grant Ingersoll
BTW, I mean when it starts up, as in during an inform(SolrCore) time, not the more obvious time when requests are coming in. -Grant On Jun 6, 2009, at 12:28 AM, Grant Ingersoll wrote: Does Solr know what host and port it is running on and, if so, how do I get access to it programmatically?

Does Solr know what host and port it is running on?

2009-06-05 Thread Grant Ingersoll
Does Solr know what host and port it is running on and, if so, how do I get access to it programmatically? I feel like I'm missing something obvious. Thanks, Grant

Re: Facet query return zero hits if category facet value has 2 or more words (looks like space does not work)

2009-06-05 Thread Stephen Weiss
Thanh, Do the categories have id numbers? What we do is we index the ID numbers of our tags and categories, and then on display we pull the real text out of the database. In our situation, since the tags and categories are multilingual, it's a lot easier than converting from English to

Facet query return zero hits if category facet value has 2 or more words (looks like space does not work)

2009-06-05 Thread Thanh Doan
I used latest acts_as_solr to index a number of sample 'sale' items. Those item documents has a facet field, Its name is cat2_facet. There are a number of documents that have cat2_facet= "Shoes" and There are a number of documents that have cat2_facet= "*Top Wear*". The problem is the space bet

Query Filter fq with OR operator

2009-06-05 Thread Yao Ge
If I want use OR operator with mutile query filters, I can do: fq=popularity:[10 TO *] OR section:0 Is there a more effecient alternative to this? -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p23895837.html Sent from the Solr - User mailing li

Re: Index Comma Separated numbers

2009-06-05 Thread Jianbin Dai
I forgot to put formatStyle="number" on the field. It works now. Thanks!! --- On Fri, 6/5/09, Jianbin Dai wrote: > From: Jianbin Dai > Subject: Re: Index Comma Separated numbers > To: solr-user@lucene.apache.org, noble.p...@gmail.com > Date: Friday, June 5, 2009, 12:37 PM > > Hi, > > Yes,

RE: Customizing results

2009-06-05 Thread Manepalli, Kalyan
Otis, I like the idea of using the as field parameter. As per your earlier comments, I implemented this by modifying the JsonResponseWriter by substituting the actual fieldname by the alias passed as part of request Parameter. I think the actual implementation would be at a much higher

Re: Solr Home on Linux JBoss ignored

2009-06-05 Thread Matt Weber
Check the dataDir setting in solrconfig.xml. Thanks, Matt Weber eSr Technologies http://www.esr-technologies.com On Jun 5, 2009, at 6:03 AM, Dean Pullen wrote: I lied, it's actually saving data to: /usr/local/jboss-portal-2.7.1.GA/bin/C:\home\jboss\solr\data Which is a tad crazy! And I h

Re: Index Comma Separated numbers

2009-06-05 Thread Jianbin Dai
Hi, Yes, I put it in data-config.xml, like following wrote: > From: Noble Paul നോബിള്‍ नोब्ळ् > Subject: Re: Index Comma Separated numbers > To: solr-user@lucene.apache.org > Date: Thursday, June 4, 2009, 9:24 PM > did you try the > NumberFormatTransf

Re: Search on dynamic fields

2009-06-05 Thread Avlesh Singh
My bad! Please ignore the previous reply. I just read your mail again to realize that there is a problem. Are you sure that the case (upper/lower) in your query and index match? Any difference in cases would not fetch you results for a field of type string. Cheers Avlesh On Sat, Jun 6, 2009 at 1

Re: Search on dynamic fields

2009-06-05 Thread Avlesh Singh
> > When I search for exact match on "New" I get zero results! > q=17000219_s:New > But when I search on 1003356 I get results! q=17000219_s: 1003356 > And when I use wildcards I get results too! q=17000219_s: *New or > q=17000219_s:New* or q=17000219_s:*New* > Nothing your case is unexpected, R

Re: Only the Newes File as Result

2009-06-05 Thread Grant Ingersoll
On Jun 5, 2009, at 12:13 AM, Jörg Agatz wrote: Hallo, Solr users... I have a Problem! I Have a lot of files, fome of the Files are exist in more than one version. often they are only little changes in the files... Now i musst find a way to get only the last of each file. The normal Result

Search on dynamic fields

2009-06-05 Thread Reza Safari
When I search for exact match on "New" I get zero results! q=17000219_s:New But when I search on 1003356 I get results! q=17000219_s: 1003356 And when I use wildcards I get results too! q=17000219_s: *New or q=17000219_s:New* or q=17000219_s:*New* Can anyone explain this? schema: store

questions about optimizations SOLR-1111,SOLR-1169,SOLR-1179

2009-06-05 Thread Marc Sturlese
Hey there, I have a few questions about the new solr speed and memory imporvements. They look like at pretty low level but I would like to understand some stuff... Sorry if something I say sounds odd. I am trying to optimize couple of custom components with these new features but not sure if I am

Re: Customizing results

2009-06-05 Thread Otis Gospodnetic
Funny, I was just thinking about field aliases the other day. I personally never needed then, but I can see how they could be handy for both searching and writing out the response. On the other hand, isn't this fairly easy to implement with a field2field mapping in the search app itself? Ot

Re: Solr document structure for preserving version information

2009-06-05 Thread Otis Gospodnetic
Would payloads work for this? Then each version could be a term in a field, and each term (so each version) could have the "reason" stored as its payload. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: rossputin > To: solr-user@lucene.

Re: how to do exact serch with solrj

2009-06-05 Thread Otis Gospodnetic
No, not text, but with that tokenizer + token filter I mentioned below. Anchors should not be needed if string is used, but the o.p. didn't want string, because he wanted lowercasing (or does string lowercase?) Of course, one could lowercase before indexing and use string type. Otis -- Sematext

RE: Solr Home on Linux JBoss ignored

2009-06-05 Thread Dean Pullen
I lied, it's actually saving data to: /usr/local/jboss-portal-2.7.1.GA/bin/C:\home\jboss\solr\data Which is a tad crazy! And I have no idea why! Dean. -Original Message- From: Dean Pullen [mailto:dean.pul...@msp-uk.com] Sent: 05 June 2009 09:47 To: solr-user@lucene.apache.org Subject:

Solr document structure for preserving version information

2009-06-05 Thread rossputin
Hi Guys. This is a schema design question I suppose. I would like to store a series of version elements comprising of two attributes, 'updated' (a date) and 'reason' (just a simple string). I aim to produce xml based on a search which would look something like: So I realise I could

Re: where to find solr help/consultant

2009-06-05 Thread Shalin Shekhar Mangar
On Thu, Jun 4, 2009 at 10:13 AM, Larry Eitel wrote: > I am implementing solr on Centos server. It involves handling > multi-languages. Where is the best place to look for developers experienced > in solr who may be interested in a little consulting work. Mostly to give > some guidance, etc. IRC i

Re: Customize facet.method

2009-06-05 Thread Shalin Shekhar Mangar
On Fri, Jun 5, 2009 at 2:20 PM, Jens Fischer wrote: > > What is the best way to do some customized calculations on fields of the > full result set? > > Each result contains a couple of numerical values. > > First I need to do a calculation for every single result and send build the > average over

Re: Customizing results

2009-06-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
I have opened an issue https://issues.apache.org/jira/browse/SOLR-1205 On Fri, Jun 5, 2009 at 12:23 PM, Fergus McMenemie wrote: >>Generally a good idea, but be prepared to entertain requests that should >>also ask you to be able to perform the query using those aliases. I mean >>when you talk ab

Customize facet.method

2009-06-05 Thread Jens Fischer
Hi, What is the best way to do some customized calculations on fields of the full result set? Each result contains a couple of numerical values. First I need to do a calculation for every single result and send build the average over the resulting numbers. I thought about using FacetSearch b

Re: spell checking

2009-06-05 Thread Shalin Shekhar Mangar
On Thu, Jun 4, 2009 at 7:26 PM, Walter Underwood wrote: > "query suggest" --wunder > > How about DidYouMeanComponent? -- Regards, Shalin Shekhar Mangar.

Solr Home on Linux JBoss ignored

2009-06-05 Thread Dean Pullen
Hi all, Have an odd problem on JBoss 4.2.3 running on Redhat. It's odd, because the configuration works fine on Windows. Our Solr home is defined in the Solr.war web.xml as: [Linux] solr/home java.lang.String /home/jboss/solr [Windows] solr/home java.lang.String

Re: spell checking

2009-06-05 Thread Michael Ludwig
Walter Underwood schrieb: "query suggest" --wunder That's very good. On the other hand, I noticed how the term "spellcheck" is spread all over the place, and that would be a massive renaming orgy. An explanation at the appropriate place in the documentation is less invasive. I added two senten

Re: SpellCheckComponent: queryAnalyzerFieldType

2009-06-05 Thread Michael Ludwig
Shalin Shekhar Mangar schrieb: Is it correct to say that when I intend to always use the spellcheck.q parameter I do not need to specify a queryAnalyzerFieldType in my spellcheck searchComponent, which I define in solrconfig.xml? Yes, that is correct. Even if a queryAnalyzerFieldType is not s

Only the Newes File as Result

2009-06-05 Thread Jörg Agatz
Hallo, Solr users... I have a Problem! I Have a lot of files, fome of the Files are exist in more than one version. often they are only little changes in the files... Now i musst find a way to get only the last of each file. The normal Results are maby 500 Documents, but from each document are e