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 zman...@hotmail.com wrote: How would I go about splitting a column by a certain delimiter AND ignore all empty matches. For example: field column=values sourceColName=values splitBy=,/ I have a some columns that dont have a value for values but

Re: DIH datasource configuration

2010-03-15 Thread Shalin Shekhar Mangar
On Mon, Mar 15, 2010 at 12:46 AM, blargy zman...@hotmail.com wrote: My current DIH is configured via the requestHandler block in solrconfig.xml requestHandler name=/dataimport class=org.apache.solr.handler.dataimport.DataImportHandler lst name=defaults str

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 mark.fletcher2...@gmail.comwrote: 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

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 zman...@hotmail.com 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.

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

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

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: dynamicField name=*_t

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 available

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 the number

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: dynamicField name=*_t type=text indexed=true stored=true/

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 zman...@hotmail.com wrote: How would I go about splitting a column by a certain delimiter AND ignore all

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 hossman_luc...@fucit.org : 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

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

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 -

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

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 georgeryo...@gmail.comwrote: I have a nearly generic out-of-box installation of solr. When I search on a short text

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

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, for better

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

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.init(StringReader.java:54) at

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

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

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

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=onfacet.field=InvestigatorName in the url I got the first and last names as separate fields in the facets. lst name=InvestigatorName int name=john11/int int name=daniel3/int int name=jame3/int

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.xmlcontentType=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=onfacet.field=InvestigatorName in the url I got the first and last names as separate fields in the facets. lst name=InvestigatorName int name=john11/int int name=daniel3/int int

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 iori...@yahoo.com wrote: I'm trying the create a facet on a field with full names in it. When I specified it like this facet=onfacet.field=InvestigatorName in the url I got the

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=truefacet.field=fInvestigatorNamefl=fInvestigatorName

Re: Faceting a text field

2010-03-15 Thread Dhanushka Samarakoon
URL - http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]facet=truefacet.field=fInvestigatorNamefl=fInvestigatorName Result - response lst name=responseHeader int name=status0/int int name=QTime14/int lst name=params str name=facet.fieldfInvestigatorName/str str

Re: Faceting a text field

2010-03-15 Thread Ahmet Arslan
http://localhost:8983/solr/select/?q=fInvestigatorName:[*%20TO%20*]facet=truefacet.field=fInvestigatorNamefl=fInvestigatorName Result - response lst name=responseHeader int name=status0/int int name=QTime14/int lst name=params str name=facet.fieldfInvestigatorName/str str

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

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=Basisdf=textwt=xslttr=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 version

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. copyField

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

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

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

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 d...@marketing-factory.de wrote: Hi List.

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

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 hossman_luc...@fucit.org 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 :

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

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 sreich...@axtaweb.com wrote: Thanks Lance. That helped ( we are using Solr-1.4). We've run into a follow-on error

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,

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...