Re: How can I convert xml message for updating a Solr index to a javabin file

2014-04-27 Thread Jack Krupansky
Look at the SolrJ source code and doc. JavaBin is more of a protocol than a file format. -- Jack Krupansky -Original Message- From: Elran Dvir Sent: Sunday, April 27, 2014 2:16 AM To: solr-user@lucene.apache.org Subject: RE: How can I convert xml message for updating a Solr index to a

Re: How to sort solr results by foreign id field

2014-04-27 Thread Goosef_Le_Hung
help me - Lady Cute -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-sort-solr-results-by-foreign-id-field-tp4133263p4133345.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: '0' Status: Communication Error

2014-04-27 Thread Karunakar Reddy
Hey Naresh, few things that may be wrong 1) your application is not pointed to correct solr(change config.ini) 2)not able to access new solr machine from your application environment(just run this command in terminal to know the status of the port/IP from application environment telnet IP_ADDRESS

Re: Data Import Handelr Question

2014-04-27 Thread Yuval Dotan
Thanks Shawn In your opinion, what do you think is easier, writing the importer from scratch or extending the DIH (for example: adding the state etc...)? Yuval On Thu, Apr 24, 2014 at 6:47 PM, Shawn Heisey wrote: > On 4/24/2014 9:24 AM, Yuval Dotan wrote: > >> I want to use the DIH component

Re: DocValues and StatsComponent

2014-04-27 Thread Ahmet Arslan
Hi Harish, I created https://issues.apache.org/jira/browse/SOLR-6024 on behalf of you. Ahmet On Friday, April 4, 2014 3:13 AM, Ahmet Arslan wrote: Hi Harish, I re-produced your problem with example/default setup. I enabled doc values example fields. ( deleted the original ones) and indexed

Re: How to sort solr results by foreign id field

2014-04-27 Thread Erick Erickson
Store the sort criteria in the documents you want to sort. Solr is _not_ a RDBMS, trying to do SQL-like things is usually a mistake, the usual approach is to de-normalize your data so you don't need to try. Best Erick On Sun, Apr 27, 2014 at 6:11 AM, Goosef_Le_Hung wrote: > help me > > > > -

Re: Data Import Handelr Question

2014-04-27 Thread Erick Erickson
This might be helpful: http://searchhub.org/2012/02/14/indexing-with-solrj/ It combines using Tika for structured documents and using a JDBC connector, but extracting the DB-specific stuff should be quite easy. Best, Erick On Sun, Apr 27, 2014 at 7:24 AM, Yuval Dotan wrote: > Thanks Shawn > > I

Stemming not working with wildcard search

2014-04-27 Thread Geepalem
Hi, I have added SnowballPorterFilterFactory filter to field type to make singular and plural search terms return same results. So below queries (double quotes around search term) returning similar results which is fine. http://localhost:8080/solr/master/select?q=page_title_t:"product*"; http:/

Wildcard search not working with search term having special characters and digits

2014-04-27 Thread Geepalem
Hi, Below query without wildcard search is returning results. http://localhost:8080/solr/master/select?q=page_title_t:"an-138"; But below query with wildcard is not returning results http://localhost:8080/solr/master/select?q=page_title_t:"an-13*"; Below query with wildcard search and no didgit

facet.field counts when q includes field

2014-04-27 Thread Michael Sokolov
I'm trying to understand the facet counts I'm getting back from Solr when the main query includes a term that restricts on a field that is being faceted. After reading the docs on the wiki (both wikis) I'm confused. In my little test dataset, if I facet on "type" and use q=*:*, I get facet c

Re: facet.field counts when q includes field

2014-04-27 Thread Trey Grainger
>>So my question basically is: which restrictions are applied to the docset from which (field) facets are computed? Facets are generated based upon values found within the documents matching your "q=" parameter and also all of your "fq=" parameters. Basically, if you do an intersection of the docs

Re: facet.field counts when q includes field

2014-04-27 Thread Michael Sokolov
On 4/27/2014 6:30 PM, Trey Grainger wrote: So my question basically is: which restrictions are applied to the docset from which (field) facets are computed? Facets are generated based upon values found within the documents matching your "q=" parameter and also all of your "fq=" parameters. Basi

Re: facet.field counts when q includes field

2014-04-27 Thread Michael Sokolov
On 4/27/14 7:02 PM, Michael Sokolov wrote: On 4/27/2014 6:30 PM, Trey Grainger wrote: So my question basically is: which restrictions are applied to the docset from which (field) facets are computed? Facets are generated based upon values found within the documents matching your "q=" paramet

Re: How to sort solr results by foreign id field

2014-04-27 Thread Goosef_Le_Hung
So, way problem above ? - Lady Cute -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-sort-solr-results-by-foreign-id-field-tp4133263p4133408.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Application of different stemmers / stopword lists within a single field

2014-04-27 Thread Alexandre Rafalovitch
If you can throw money at the problem: http://www.basistech.com/text-analytics/rosette/language-identifier/ . Language Boundary Locator at the bottom of the page seems to be part/all of your solution. Otherwise, specifically for English and Arabic, you could play with Unicode ranges to try detecti

Re: facet.field counts when q includes field

2014-04-27 Thread Trey Grainger
No problem, Mike. Glad you got it sorted out. Trey Grainger Co-author, Solr in Action Director of Engineering, Search & Analytics @ CareerBuilder On Sun, Apr 27, 2014 at 7:23 PM, Michael Sokolov < msoko...@safaribooksonline.com> wrote: > On 4/27/14 7:02 PM, Michael Sokolov wrote: > >> On 4/27/2