Re: How to debug DIH with MySQL?

2012-01-10 Thread dan whelan
just a guess but this might need to change from ${biblio.id} to ${book.id} Since the entity name is book instead of biblio On 1/10/12 10:37 AM, Walter Underwood wrote: I see a missing required "title" field for every document when I'm using DIH. Yes, these documents have titles in the dat

spatial search or null

2011-12-01 Thread dan whelan
Hi, how would I go about constructing a solr 3.2 spatial query that would return documents that are in a specified radius OR documents that have no location information. The query would have a similar result as this: q=City:"San Diego" OR -City:['' TO *] Thanks

Re: DocumentAnlysisRequestHandler expects a single content stream ...

2011-10-20 Thread dan whelan
I figured it out by passing this as the curl post fields $postContent=array('wt'=>'json', 'indent'=>'true', 'stream.body'=> $xmldoc); curl_setopt($ch, CURLOPT_POSTFIELDS, $postContent); On 10/20/11 8:15 AM, dan whelan wrote:

DocumentAnlysisRequestHandler expects a single content stream ...

2011-10-20 Thread dan whelan
Hi, I am trying to use the analysis request handler in php / curl and was wondering if anyone could help point me in the right direction. I would like to mimic this command-line example from the wiki but need to do it with a variable instead of with a file on the filesystem. curl 'http://lo

interestingTerms=details

2011-10-05 Thread dan whelan
Hi, I noticed that every "interesting term" returned using the MoreLikeThisHandler always have a boost of 1. How would one go about making a term have a different boost. Say I have a paragraph of text and I do a more like this query on the paragraph. But if term XX or YY is in the paragraph

Re: mlt content stream help

2011-09-26 Thread dan whelan
most likely be working. If you don't take the time to show us what you've tried, and the results you get back, then there's not much we can do to help. Best Erick On Mon, Sep 26, 2011 at 7:18 AM, dan whelan wrote: On 9/24/11 12:17 PM, Erick Erickson wrote: What version of S

Re: mlt content stream help

2011-09-26 Thread dan whelan
he request is exactly the same as the url in the wiki using the example solr / exampledocs and the relevant portions of your solrconifg file would help a lot, you might want to review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Thu, Sep 22, 2011 at 9:08 AM, dan whelan wrote

mlt content stream help

2011-09-22 Thread dan whelan
I would like to use MLT and the content stream feature in solr like on this page: http://wiki.apache.org/solr/MoreLikeThisHandler How should the request handler / solrconfig be setup? I enabled streaming and I set a requestHandler up by copying the default request handler and I changed the na

Re: Newbie Question, can I store structured sub elements?

2011-08-24 Thread dan whelan
You could change starttime and channelname to multiValued=true and use these fields to store all the values for those fields. showing.movie_id and showing.id probably isn't needed in a solr record. On 8/24/11 7:53 AM, Zac Tolley wrote: I have a very scenario in which I have a film and showin

Re: Query may only contain [a-z][0-9]

2011-06-24 Thread dan whelan
You should escape those characters http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#Escaping%20Special%20Characters On 6/24/11 3:15 AM, roySolr wrote: Hello, Is it possible to configure into SOLR that only numbers and letters are accepted([a-z][0-9])?? When a user gives a term lik

Re: fq null pointer exception

2011-06-03 Thread dan whelan
arch-lucene.com/ - Original Message From: dan whelan To: solr-user@lucene.apache.org Sent: Fri, June 3, 2011 1:38:33 PM Subject: Re: fq null pointer exception Otis, I just deleted the documents and committed and I still get that error. Thanks, Dan On 6/3/11 9:43 AM, Otis Gospodn

Re: fq null pointer exception

2011-06-03 Thread dan whelan
ot;? Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message ---- From: dan whelan To: solr-user@lucene.apache.org Sent: Fri, June 3, 2011 11:46:46 AM Subject: fq null pointer exception I am noticing something strang

fq null pointer exception

2011-06-03 Thread dan whelan
I am noticing something strange with our recent upgrade to solr 3.1 and want to see if anyone has experienced anything similar. I have a solr.StrField field named Status the values are Enabled, Disabled, or '' When I facet on that field it I get Enabled 4409565 Disabled 29185 "" 112 The is

Re: error while doing full import

2011-05-17 Thread dan whelan
On 5/16/11 9:35 PM, deniz wrote: Caused by: java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Undeclared general entity "nbsp" at [row,col {unknown-source}]: [170,29] at ... The XML is not well-formed because of the   (row 170, col 29) you could wrap the text in a CDATA tag o

Re: Frequency of words in index

2011-05-11 Thread dan whelan
On 5/11/11 6:12 AM, Jasneet Sabharwal wrote: I did a facet query on my data field and it showed a list of words with their count but it miss lot of words in facet count. The query used was :- http://localhost:8983/solr/select/?q=*:*&facet=true&facet.field=Data How can I get the count of each

how would you design schema?

2011-03-09 Thread dan whelan
Hi, I'm investigating how to set up a schema like this: I want to index accounts and the products purchased (multiValued) by that account but I also need the ability to search by the date the product was purchased. It would be easy if the purchase date wasn't part of the requirements. How w

Re: New PHP API for Solr (Logic Solr API)

2011-03-07 Thread dan whelan
When are you going to complete the Texis Search API? On 3/6/11 2:31 PM, Burak wrote: Hello, I have recently finished writing a PHP API for Solr and have released it under the Apache License. The project is called "Logic Solr API" and is located at https://github.com/buraks78/Logic-Solr-API/

Re: Sub query using SOLR?

2011-01-04 Thread dan whelan
Something like this might work. It's two dismax queries joined by an AND q=_query_:"{!dismax mm='100%25' qf='query fields and boosts for one query' v=$q1}" AND _query_:"{!dismax mm='100%25' qf='query fields and boosts for second query' v=$q2}"&q1=query one&q2=query two Just change the qf para

Re: Localsolr with Dismax

2010-09-02 Thread dan whelan
I experienced the same issue. The localsolr site says to configure like this: localsolr facet mlt highlight debug but the default solr components are (note the above config is missing query): query facet mlt highlight stats debug I fixed it by doing this instead localsolr On 9/2/