Re: Customizing results

2009-06-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Jun 6, 2009 at 2:35 AM, Manepalli, Kalyan wrote: > 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 > Parame

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

2009-06-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
can it be added into the solrconfig.xml or solr.xml ? On Sat, Jun 6, 2009 at 10:55 AM, Shalin Shekhar Mangar wrote: > 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 l

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

2009-06-06 Thread Robert Purdy
Yes I am still getting the NPE. Robert. Shalin Shekhar Mangar wrote: > > 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. >> >> Ju

Re: NPE on MERGEINDEXES

2009-06-06 Thread Koji Sekiguchi
Shalin, I know it. I've verified that NPE is gone. Thank you. Koji Shalin Shekhar Mangar wrote: 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

Re: Filter query results do not match facet counts

2009-06-06 Thread Yonik Seeley
On Mon, Jun 1, 2009 at 9:21 PM, 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. There was a bug from 5-20 th

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

2009-06-06 Thread Yonik Seeley
On Sat, Jun 6, 2009 at 2:00 AM, Shalin Shekhar Mangar wrote: > It may be related to SOLR-. Yonik mentioned that there might be a > problem with RandomSortField: Yep, custom sort fields aren't compatible with the new Lucene Collector classes. I'll see if I can get it fixed this weekend. -Yoni

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

2009-06-06 Thread Grant Ingersoll
On Jun 6, 2009, at 3:38 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: can it be added into the solrconfig.xml or solr.xml ? Yes, but for what I'm working on, I'd rather not have to do it. Seems like I might be able to get at it by having the Servlet add it onto something that is available like t

Re: Token filter on multivalue field

2009-06-06 Thread David Giffin
I'm doing a combination of update processor and token filter. The token filter is necessary to reduce the duplicates after stemming has occurred. David 2009/6/4 Noble Paul നോബിള്‍ नोब्ळ् : > isn't better to use an UpdateProcessor  for this? > > On Thu, Jun 4, 2009 at 1:52 AM, Otis Gospodnetic >

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

2009-06-06 Thread Yonik Seeley
On Sat, Jun 6, 2009 at 11:48 AM, Grant Ingersoll wrote: > Seems like I might be able to get at it by having the Servlet add it onto > something that is available like the core or the config. Yep, as long as it's optional (Solr could always run in embedded more, or in a different type of container

Use the same SQL Field in Dataimporthandler twice?

2009-06-06 Thread gateway0
Hi, I tried to do the following: " " So I use the SQL Table Field "id" twice once for "db_id" in my index and for the sql query as "fid=id". That doesn´t work! But when I change the query from "fid=id" to like "fid=otherkey" it does work! Like: " " Is there any oth

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

2009-06-06 Thread Paul Libbrecht
It is common knowledge that a web-application cannot know it's port and host-name: - many possible cnames to host-name - potential tunnels - most important and most used: proxies, typically an apache mod_proxy or mod_webapp on a port different than the servlet container port. Le 06-juin-09

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

2009-06-06 Thread Yonik Seeley
I just checked in a fix for this. -Yonik http://www.lucidimagination.com On Sat, Jun 6, 2009 at 10:41 AM, Yonik Seeley wrote: > On Sat, Jun 6, 2009 at 2:00 AM, Shalin Shekhar Mangar > wrote: >> It may be related to SOLR-. Yonik mentioned that there might be a >> problem with RandomSortField

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

2009-06-06 Thread Thanh Doan
Hi Steve, No. My cat2_facet field does not have id number. In the 2 queries below... not sure why query 1 did not work and query 2 worked perfectly. 1) query 1 (should return 2 documents, but it did not work) webapp=/solr path=/select params={facet=true&fl=pk_i,score&facet.mincount=1&q=([*+TO+*

Re: Filter query results do not match facet counts

2009-06-06 Thread Thanh Doan
> 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. I have a slightly different problem. when I do a filter query of 'fq=cat:"Season