Re: Where are my boosts ?

2010-03-15 Thread pcmanprogrammeur
No reply ? -- View this message in context: http://old.nabble.com/Where-are-my-boosts---tp27874753p27901203.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: RegexTransformer

2010-03-15 Thread Shalin Shekhar Mangar
On Mon, Mar 15, 2010 at 2:12 AM, blargy wrote: > > How would I go about splitting a column by a certain delimiter AND ignore > all > empty matches. > > For example: > > > > I have a some columns that dont have a value for values but so its getting > actually index as blank. I just want to totall

Re: DIH datasource configuration

2010-03-15 Thread Shalin Shekhar Mangar
On Mon, Mar 15, 2010 at 12:46 AM, blargy wrote: > > My current DIH is configured via the requestHandler block in solrconfig.xml > > class="org.apache.solr.handler.dataimport.DataImportHandler"> > > data-config.xml > >${datasource.driver} >${datasource.url} >

Re: create core with separate solrconfig.xml

2010-03-15 Thread Shalin Shekhar Mangar
On Mon, Mar 15, 2010 at 6:12 AM, Mark Fletcher wrote: > > I wanted to configure one core as Master and one core as slave. > This is my existing configuration:- > > In my SOLR_HOME I have conf/schema.xml, conf/solrconfig.xml and the others > when no core was present > Also in my SOLR_HOME are solr

Re: RegexTransformer

2010-03-15 Thread Michael Kuhlmann
On 03/15/10 08:56, Shalin Shekhar Mangar wrote: > On Mon, Mar 15, 2010 at 2:12 AM, blargy wrote: > >> >> How would I go about splitting a column by a certain delimiter AND ignore >> all >> empty matches. [...] > You will probably have to write a custom Transformer to remove empty values. > See ht

Custom Score for Solr

2010-03-15 Thread muneeb
Hi, I have added a few extra fields to my solr document, which I want to effect the default scoring algorithm. Could anyone guide me on how to start customizing the solr scoring algorithm? My Scenario: As an example: my each indexed article has a field 'readerCount' which holds the number of pe

Re: Store input text after analyzers and token filters

2010-03-15 Thread JCodina
Ok For solr 1.5 after looking around, analyzing the answers in this forum, and browsing the code, I think that I could manage it. I had to write a few lines of code, the problem was to find which ones !!! So i did a new class, which is a subclass of CompressableField that includes a new parameter

Re: Store input text after analyzers and token filters

2010-03-15 Thread JCodina
For solr 1.4 Is basically the same but IndexSchema (org.apache.solr.schema.IndexSchema) needs to be updated to include the function getFieldTypeByName(String fieldTypeName) which is already in sorl1.5 /** * Given the name of a {...@link org.apache.solr.schema.FieldType} (not to be confused

How to retrieve unique values in typeahead

2010-03-15 Thread Nair, Manas
Hi experts, Please help me out on this. I have a collection of about 30K documents which pertain to pop artists (eg. Madonna, Michael Jackson). These artist names are indexed in the field named "artist_t" which has the following properties in dynamic field declaration: Most of the documents

filtering documents by multiple coordinates per document

2010-03-15 Thread Lukas Kahwe Smith
Hi, I have looked at: http://blog.jteam.nl/2009/08/03/geo-location-search-with-solr-and-lucene This looks like it provides a "proper" way which I will try out for sure, but I also wanted to compare it against a less "proper" approach. In an application we are storing offers which can be availab

Re: Custom Score for Solr

2010-03-15 Thread Ahmet Arslan
> I have added a few extra fields to my solr document, which > I want to effect > the default scoring algorithm. Could anyone guide me on how > to start > customizing the solr scoring algorithm? > > My Scenario: > As an example: my each indexed article has a field > 'readerCount' which holds > t

Re: How to retrieve unique values in typeahead

2010-03-15 Thread Ahmet Arslan
> I have a collection of about 30K documents which pertain to > pop artists (eg. Madonna, Michael Jackson). These artist > names are indexed in the field named "artist_t" which has > the following properties in dynamic field declaration: > stored="true"/> > > Most of the documents will have MJ a

Re: RegexTransformer

2010-03-15 Thread Shalin Shekhar Mangar
On Mon, Mar 15, 2010 at 2:53 PM, Michael Kuhlmann < michael.kuhlm...@zalando.de> wrote: > On 03/15/10 08:56, Shalin Shekhar Mangar wrote: > > On Mon, Mar 15, 2010 at 2:12 AM, blargy wrote: > > > >> > >> How would I go about splitting a column by a certain delimiter AND > ignore > >> all > >> empt

Re: mincount doesn't work with FacetQuery

2010-03-15 Thread Saïd Radhouani
Chris - Shall I open a JIRA request to add this feature? Thnx 2010/3/11 Chris Hostetter > > : I'm faceting with a query range (with addFacetQuery) and setting mincount > to > : 10 (with setFacetMinCount(10)), but Solr is not respecting this mincount; > : it's still giving me all responses, eve

SolrJ - how separte different results from the same facet query?

2010-03-15 Thread Saïd Radhouani
I'm faceting with a two different query ranges while using addFacetQuery. I wonder wether it's possible using SolrJ to extract the result of each query range separately. Here's is an example: addFacetQuery("price:[* TO 150]"); addFacetQuery("price:[151 TO 300]"); etc. addFacetQuery("length:[* TO 5

Re: Boundary match as part of query language?

2010-03-15 Thread Jan Høydahl / Cominvent
Sure, this is how we do it now. But wouldn't it be nice with native support for it? I could start coding it myself but wanted to know if there is a patch out there already or something... -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Training in Europe - www.solrtrai

Re: SolrJ - how separte different results from the same facet query?

2010-03-15 Thread Jon Baer
I am interested in this as well ... Im also having the issue of understanding if a result has been elevated by the QueryElevation component. It should like SolrJ would need to know about some type of metadata contained within the docs but I haven't seen SolrJ dealing w/ payloads specifically ye

Re: some hyphenated words not found

2010-03-15 Thread Erick Erickson
Look carefully at the analyzers you have defined for index and query. And if you're still puzzled, please post them. Erick On Sun, Mar 14, 2010 at 6:44 PM, george young wrote: > I have a nearly generic out-of-box installation of solr. When I > search on a short text document containing a few hy

Term Highlighting without store text in index

2010-03-15 Thread dbejean
Hello, Just in order to be able to show term highlighting in my results list, I store all the indexed data in the Lucene index and so, it is very huge (108Gb). Is there any possibilities to do it in an other way ? Now or in the future, is it possible that Solr use a 3nd-party tool such as ehcache

Re: Where are my boosts ?

2010-03-15 Thread Ahmet Arslan
> Hey ! > I use boost on my documents and Solr takes my boosts in > consideration ! But > now, i would like to get the "boost" of each documents but > there are not > present in my XML result ... why ? "Index time boost values are combined with other indexing time factors and stored elsewhere, fo

Spatial search in Solr 1.5

2010-03-15 Thread Jean-Sebastien Vachon
Hi All, I'm trying to figure out how to perform spatial searches using Solr 1.5 (from the trunk). Is the support for spatial search built-in? because none of the patches I tried could be applied to the source tree. If this is the case, can someone one tell me how to configure it? I find the av

Problem with suggest search

2010-03-15 Thread David Rühr
Hi List. We have two Servers dev and live. Dev is not our Problem but on live we see with the facet.prefix paramter - if there is no q param - for suggest search this error: HTTP Status 500 - null java.lang.NullPointerException at java.io.StringReader.(StringReader.java:54) at org.apache.luc

Re: create core with separate solrconfig.xml

2010-03-15 Thread Mark Fletcher
Hi Shalin, Thank you for your reply. I think I mixed 2 matters in my prev mail (replication and core creation). So let me first get help for my CORES set up. My current set up is:- In my SOLR_HOME I have *conf*/configfiles (like schema.xml, solrconfig.xml etc...) I created my new core say coreA us

Re: RegexTransformer

2010-03-15 Thread blargy
Thanks for the replies. Ill just roll out my own transformer for this. Shalin Shekhar Mangar wrote: > > On Mon, Mar 15, 2010 at 2:53 PM, Michael Kuhlmann < > michael.kuhlm...@zalando.de> wrote: > >> On 03/15/10 08:56, Shalin Shekhar Mangar wrote: >> > On Mon, Mar 15, 2010 at 2:12 AM, blargy w

Re: DIH datasource configuration

2010-03-15 Thread blargy
Shalin, Where in the admin console can I view the current data-config.xml settings? The reason I choose solrconfig.xml to configure the datasource is because there is no way for me to pass dynamic values into data-config.xml as I have in my example. Is there a way that this can be accomplished?

Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
Hi, I'm trying the create a facet on a field with full names in it. When I specified it like this "facet=on&facet.field=InvestigatorName" in the url I got the first and last names as separate fields in the facets. 11 3 3 ... Then I changed the schema.xml as follows. and restarted solr and r

Re: DIH datasource configuration

2010-03-15 Thread Ahmet Arslan
> Where in the admin console can I view the current > data-config.xml settings? solr/admin/file/?file=data-config.xml&contentType=text/xml;charset=utf-8

Re: Faceting a text field

2010-03-15 Thread Ahmet Arslan
> I'm trying the create a facet on a field with full names in > it. > When I specified it like this > "facet=on&facet.field=InvestigatorName" in the > url I got the first and last names as separate fields in > the facets. > > 11 > 3 > 3 > ... > > > Then I changed the schema.xml as follows. > in

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
Still no luck. Is there anything else that I need to change? On Mon, Mar 15, 2010 at 2:11 PM, Ahmet Arslan wrote: > > I'm trying the create a facet on a field with full names in > > it. > > When I specified it like this > > "facet=on&facet.field=InvestigatorName" in the > > url I got the first a

Re: Faceting a text field

2010-03-15 Thread Ahmet Arslan
> Still no luck. Is there anything else > that I need to change? Thats strange. Whats the output of this: q=fInvestigatorName:[* TO *]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
URL - http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName Result - 0 14 fInvestigatorName fInvestigatorName:[* TO *] fInvestigatorName true On Mon, Mar 15, 2010 at 2:53 PM, Ahmet Arslan wrote: > > Still

Re: Faceting a text field

2010-03-15 Thread Ahmet Arslan
> http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName > > Result - > > > > 0 > 14 > > name="facet.field">fInvestigatorName > fInvestigatorName:[* TO *] > fInvestigatorName > true > > > > > > > > > > > nu

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
Yes, I restarted the solr engine and re-indexed the data. On Mon, Mar 15, 2010 at 3:20 PM, Ahmet Arslan wrote: > > > http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]&facet=true&facet.field=fInvestigatorName&fl=fInvestigatorName > > > > Result - > > > > > > > > 0 > > 14 > >

NGram shortcomings

2010-03-15 Thread Smiley, David W.
Hello all. In a search app I'm working on, users are permitted to put wildcards at the beginning, end, and at both the beginning and end of their search queries. For this to be fast, I need to use NGramFilterFactory. But this isn't enough, apparently. Firstly, my query parser needs to know t

Solr doesn't pick up the updated .xsl file. Where does it keep the cache?

2010-03-15 Thread Teruhiko Kurosaka
I have been seeing strange phenomena. I've written a HTML form that calls Solr like this: http://localhost:8983/solr/select/?q=Basis&df=text&wt=xslt&tr=btdemo.xsl It works. But when I change the contents of solr/conf/xslt/btdemo.xsl and restart solr, it still show the behavior of the older versi

Re: Faceting a text field

2010-03-15 Thread Ahmet Arslan
> numFound="0" means all documents have empty field > fInvestigatorName. Did you re-start tomcat and re-index, > after making fInvestigatorName multi-valued? I just realized that there is a typo in your copy field declaration. It should be copy*F*ield with capital F.

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
That worked !!! Thanks a lot. I was following a tutorial from a blog and just copy-pasted the line to the schema.xml and and just changed the field names. I would have never figured it out if it wasn't for your help :-) Although I'm surprised why solr didn't gave me an error on that schema file.

Re: DIH datasource configuration

2010-03-15 Thread blargy
Thanks but I was thinking more of a way to check the datasource's current internal configuration. IE, i wanted to check if I put batchsize -1 in the sorlconfig.xml that it was actually set. Anyway, back to my previous question. Is there a way to dynamically set the values for the datasource in da

Re: Solr doesn't pick up the updated .xsl file. Where does it keep the cache?

2010-03-15 Thread Teruhiko Kurosaka
Additional info: When I changed the query term, Solr did use the updated XSL file. I suspected that the firefox browser was doing its own caching but the request log did show it is sending requests to Solr even when the get URL is the same as previous one. So there must be some caching going on at

Re: Problem with suggest search

2010-03-15 Thread Tom Hill
You need a query string with the standard request handler. (dismax has q.alt) Try q=*:*, if you are trying to get facets for all documents. And yes, a friendlier error message would be a good thing. Tom On Mon, Mar 15, 2010 at 9:03 AM, David Rühr wrote: > Hi List. > > We have two Servers dev

Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Lance Norskog
This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk. The ExtractingRequestHandler libraries are in contrib/extracting/lib You need to make a directory example/solr/lib and copy into it the apache-solr-cell jar from dist/ and all of the libraries from contrib/extracting/lib. The Wi

Re: Weird issue with solr and jconsole/jmx

2010-03-15 Thread Andrew Greenburg
On Tue, Mar 9, 2010 at 7:44 PM, Chris Hostetter wrote: > > : I connected to one of my solr instances with Jconsole today and > : noticed that most of the mbeans under the solr hierarchy are missing. > : The only thing there was a Searcher, which I had no trouble seeing > : attributes for, but the

Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Steve Reichgut
Thanks Lance. That helped ( we are using Solr-1.4). We've run into a follow-on error though. It is giving the following error: ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware Did we miss something else in the setup? Steve Is there something else we haven't copied On 3/15/201

Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Lance Norskog
Please post the complete stack trace. Also, it will help if you make a full listing of all .jar files in the example/ directory. On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut wrote: > Thanks Lance. That helped ( we are using Solr-1.4). We've run into a > follow-on error though. It is giving the

Dyanmic variables/properties

2010-03-15 Thread blargy
Can someone point me in the right direction as where to find some documentation on how and where I can configure dynamic variables/properties to be used throughout the solr configuration files. Also what is the correct term for these dynamic variables? For example in solrconfig.xml there is this

Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Steve Reichgut
Sure. I've attached two docs that have the stack trace and the full list of .jar files. On 3/15/2010 8:34 PM, Lance Norskog wrote: Please post the complete stack trace. Also, it will help if you make a full listing of all .jar files in the example/ directory. On Mon, Mar 15, 2010 at 7:12 PM, S

Re: KeywordTokenizer for faceting gives too many results

2010-03-15 Thread Chris Hostetter
: > defaultSearchField stuff is correct but I just realized that you need : to use quotes in your case. Because query parser splits on white-spaces. : &fq=label:"Aces of London" > Or you need to escape spaces: : &fq=label:Aces\ of\ London this is what the "field" QParserPlugin was invented for