help: DIH and Multivalue does not work

2010-12-23 Thread lun zhong
Hi, Solr gurus: I am totally new to solr and hope somebody can help me on this. I have multivalue field channel in my schema: field name=channel type=string indexed=true stored=true multivalue=true/ and the DIH config: entity name=autocomplete query=select * from view_autocomplete

Re: help: DIH and Multivalue does not work

2010-12-23 Thread Ahmet Arslan
There are several typos, multiValued=true = multivalue sourceColName = sourceColcolumn By the way, after you correct those and restart tomcat, you can debug on /admin/dataimport.jsp --- On Thu, 12/23/10, lun zhong zhong...@gmail.com wrote: From: lun zhong zhong...@gmail.com Subject: help:

Re: help: DIH and Multivalue does not work

2010-12-23 Thread lun zhong
Yup, it is working, thanks so much. On Thu, Dec 23, 2010 at 4:55 PM, Ahmet Arslan iori...@yahoo.com wrote: There are several typos, multiValued=true = multivalue sourceColName = sourceColcolumn By the way, after you correct those and restart tomcat, you can debug on /admin/dataimport.jsp

Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

2010-12-23 Thread Bac Hoang
Just to share with solr community that the problem has been resolved in a simple way: move the solr/data/index out of the /opt/dev/config The root cause is permission. It seems Geronimo doesn't allow write permission to /opt/dev/config and its sub-folders Cheers, Bac Hoang On 12/22/2010

error in html???

2010-12-23 Thread satya swaroop
Hi All, I am able to get the response in the success case in json format by stating wt=json in the query. But as in case if any errors i am geting in html format. 1) Is there any specified reason to get in html format?? 2)cant we get the error result in json format?? Regards, satya

Re: Configuration option for disableReplication

2010-12-23 Thread Francis Rhys-Jones
Hi, Were running a cloud based cluster of servers and its not that easy to get a list of the current slaves. Since my problem is only around the restart/redeployment of the master it seems an unnecessary complication to have to start interacting with slaves as part of the scripts that do this.

Item catagorization problem.

2010-12-23 Thread Hasnain
Hi all, I am using solr in my web application for search purposes. However, i am having a problem with the default behaviour of the solr search. From my understanding, if i query for a keyword, let's say Laptop, preference is given to result rows having more occurences of the search

Re: Configuration option for disableReplication

2010-12-23 Thread Upayavira
Having played with it, I can see that it would be extremely useful to be able to disable replication in the solrconfig.xml, and then enable it with a URL. So, as to your patch, I'd say yes, submit it. But do try to make it backwards compatible. It'll make it much more likely to get accepted.

Solr 1.4.1 stats component count not matching facet count for multi valued field

2010-12-23 Thread Johannes Goll
Hi, I have a facet field called option which may be multi-valued and a weight field which is single-valued. When I use the Solr 1.4.1 stats component with a facet field, i.e. q=*:*version=2.2stats=true stats.field=weightstats.facet=option I get conflicting results for the stats count result

Total number of groups after collapsing

2010-12-23 Thread samarth s
Hi, I have been using collapsing in my application. I have a requirement of finding the no of groups matching some filter criteria. Something like a COUNT(DISTINCT columnName). The only solution I can currently think of is using the query:

Using remote Nutch Server to crawl, then merging results into local index

2010-12-23 Thread Dietrich
I want to use Solr to index two types of documents: - local documents in Drupal (ca. 10M) - a large number of web sites to be crawled thru Nutch (ca 100M) Our data center does not have the necessary bandwith to crawl all the external sites and we want to use a hosting provider to do the crawling

Custom match scoring

2010-12-23 Thread Nelson Branco
Hi, I'm implementing a search that has peculiar scoring rules that, as I can see, isn't supported natively. The rules are like: - Given a set of tokens, the final score would be the sum of scores of all token by each token can only be scored for its best match over a set of

Re: full text search in multiple fields

2010-12-23 Thread PeterKerk
Correct! Thanks again, it now works! :) -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2137284.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Using remote Nutch Server to crawl, then merging results into local index

2010-12-23 Thread Dominique Bejean
Hi, In order to crawl and index your web sites, may you can have a look at www.crawl-anywhere.com. It includes a web crawler, a document processing pipeline and a solr indexer. Dominique Le 23/12/10 16:27, Dietrich a écrit : I want to use Solr to index two types of documents: - local

Re: DIH for taxonomy faceting in Lucid webcast

2010-12-23 Thread Erick Erickson
SolrJ is often used when DIH doesn't do what you wish. Using SolrJ is really quite easy, but you're doing the DB queries yourself, often with the appropriate jdbc driver. Within DIH, the transformers, as Chris says, *might* work for you. Best Erick On Wed, Dec 22, 2010 at 6:16 PM, Andy

Re: error in html???

2010-12-23 Thread Erick Erickson
What html format? Solr responds in XML, not HTML. Any HTML has to be created somewhere in the chain. Your browser may not be set up to render XML, so you could be seeing problems because of that. If hit is off-base, could you explain your issue in a bit more detail? Best Erick On Thu, Dec 23,

Re: Item catagorization problem.

2010-12-23 Thread Erick Erickson
What you're asking for appears to me to be auto-categorization, and there's nothing built into Solr to do this. Somehow you need to analyze the documents at index time and add the proper categories, but I have no clue how. This is especially hard with short fields since most auto-categorization

Re: Custom match scoring

2010-12-23 Thread Erick Erickson
Hmmm, have you looked at dismax? If I'm reading your message correctly, it sounds like this may already be there. Of course I've missed the point of messages before. Best Erick On Thu, Dec 23, 2010 at 10:29 AM, Nelson Branco nelson-bra...@telecom.ptwrote: Hi, I’m implementing a search that

Re: Item precedence search problem

2010-12-23 Thread Gora Mohanty
On Wed, Dec 22, 2010 at 3:53 PM, Hasnain hasn...@hotmail.com wrote: [...] In my schema, i have another field by the name of Category and, for example's sake, let's assume that my application supports only two categories: computers and accessories. Now, what i require is a mechanism to assign

Re: error in html???

2010-12-23 Thread Markus Jelsma
These HTTP Status 500 - null java.lang.NullPointerException at java.io.StringReader.init(StringReader.java:50) at are returned in HTML. I use Nginx to detect the HTTP error code and return a JSON encoded body with the appropriate content type. Maybe it could be done in the servlet container

Re: Using remote Nutch Server to crawl, then merging results into local index

2010-12-23 Thread Erick Erickson
Merging the indexes seems problematical. It's easy enough to #code#, but I'm not sure it would produce results you want. And it supposes that your schemas are identical (or at least compatible) between the crawled data and your local data, which I wonder about... Instead, I'd think about cores.

Re: Item catagorization problem.

2010-12-23 Thread Dennis Gearon
Doesn't indexing analyzing do this to some degree anyway? Not sure the alogrithm, but something like: How often, hom much near the top, how many differnt forms, subject or object of a sentence. That has to have some relevance to what category something is in. The simplest extension to that

Re: full text search in multiple fields

2010-12-23 Thread PeterKerk
Sorry to bother you again, but it still doesnt seem to work all the time... This (what you solved earlier) works: q=title_search:PappegaydefType=lucenefl=id,title But for another location, which value in DB is: de tuinkamer When I query the id of that location: q=id:431fl=id,title the

Re: full text search in multiple fields

2010-12-23 Thread Ahmet Arslan
But for another location, which value in DB is: de tuinkamer When I query the id of that location: q=id:431fl=id,title the location is found, so it IS indexed... But this query DOESNT work: q=title_search:tuinkamer*defType=lucenefl=id,title And this one DOES:

Re: synonyms database

2010-12-23 Thread lee carroll
Hi ramzesua, Synonym lists will often be application specific and will of course be language specific. Given this I don't think you can talk about a generic solr synonym list, just won't be very helpful in lots of cases. What are you hoping to achieve with your synonyms for your app? On 23

Re: full text search in multiple fields

2010-12-23 Thread PeterKerk
@iorixxx: removing that line did solve the problem, thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2138629.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Spellcheker automatically tokenizes on period marks

2010-12-23 Thread Sebastian M
Is it possible that the spellcheck query can be configured to stop tokenizing on period marks through a parameter, rather than through the analyzer? -- View this message in context:

Re: Solr 1.4.1 stats component count not matching facet count for multi valued field

2010-12-23 Thread Chris Hostetter
: I have a facet field called option which may be multi-valued and : a weight field which is single-valued. : : When I use the Solr 1.4.1 stats component with a facet field, i.e. ... : I get conflicting results for the stats count result a jira search for solr stats multivalued would

Re: DIH for taxonomy faceting in Lucid webcast

2010-12-23 Thread Lance Norskog
The DIH lets you code in Javascript- you can do anything. On 12/23/10, Erick Erickson erickerick...@gmail.com wrote: SolrJ is often used when DIH doesn't do what you wish. Using SolrJ is really quite easy, but you're doing the DB queries yourself, often with the appropriate jdbc driver.

Problem of results ordering

2010-12-23 Thread Ruixiang Zhang
When I search guitar center 94305, it gives the results: guitar center guitar center Hollywood guitar center 94305 guitar center 94305 location But I want results to be like this: guitar center 94305 guitar center 94305 location guitar center guitar center Hollywood How can I make the results

Re: Problem of results ordering

2010-12-23 Thread Erick Erickson
What does your query look like? Especially what is the output when you append debugQuery=on? You can examine the scoring at the end of the response to gain more insight. Best Erick On Thu, Dec 23, 2010 at 8:34 PM, Ruixiang Zhang rxzh...@gmail.com wrote: When I search guitar center 94305, it

Re: Problem of results ordering

2010-12-23 Thread Anurag
Try boosting 94305 as guitar center 94305^10 On Fri, Dec 24, 2010 at 9:23 AM, Erick Erickson [via Lucene] ml-node+2139685-1248268645-146...@n3.nabble.comml-node%2b2139685-1248268645-146...@n3.nabble.com wrote: What does your query look like? Especially what is the output when you append

RE: Solr 1.4.1 stats component count not matching facet count for multi valued field

2010-12-23 Thread Jonathan Rochkind
Interesting, the wiki page on StatsComponent says multi-valued fields may be slow , and may use lots of memory. http://wiki.apache.org/solr/StatsComponent Apparently it should also warn that multi-valued fields may not work at all? I'm going to add that with a link to the JIRA ticket.

RE: Solr 1.4.1 stats component count not matching facet count for multi valued field

2010-12-23 Thread Chris Hostetter
: Interesting, the wiki page on StatsComponent says multi-valued fields : may be slow , and may use lots of memory. : http://wiki.apache.org/solr/StatsComponent *stats* over multivalued fields work, but use lots of memory -- that bug only hits you when you compute stats over any field, that

RE: Solr 1.4.1 stats component count not matching facet count for multi valued field

2010-12-23 Thread Jonathan Rochkind
Aha! Thanks, sorry, I'll clarify on my wiki edit. From: Chris Hostetter [hossman_luc...@fucit.org] Sent: Friday, December 24, 2010 12:11 AM To: solr-user@lucene.apache.org Subject: RE: Solr 1.4.1 stats component count not matching facet count for multi

Re: error in html???

2010-12-23 Thread satya swaroop
Hi Erick, Every result comes in xml format. But when you get any errors like http 500 or http 400 like wise we will get in html format. My query is cant we make that html file into json or vice versa.. Regards, satya

Map failed at getSearcher

2010-12-23 Thread Rok Rejc
Hi all, I have created a new index (using Solr trunk version from 17th December, running on Windows 7 Tomcat 6, 64 bit JVM) with around 1.1 billion of documents (index size around 550GB, mergeFactor=20). After the (csv) import I have commited the data and got this error: HTTP Status 500 -

Re: Total number of groups after collapsing

2010-12-23 Thread samarth s
Hi, I figured out a better way of doing it. The following query would be a better option: q=*:*start=2147483647rows=0collapse=truecollapse.field=abccollapse.threshold=1 Thanks, Samarth On Thu, Dec 23, 2010 at 8:57 PM, samarth s samarth.s.seksa...@gmail.comwrote: Hi, I have been using