Trouble handling Unit symbol

2012-03-30 Thread Rajani Maski
Hi, We have data having such symbols like : µ Indexed data has -Dose:"0 µL" Language type - "English" Now , when it is searched as - Dose:"0 µL" Number of document matched = 0 Query Q value observed : S257:"0 µL/injection" *Any solution to handle such cases? * Thanks & Regards

Re: Trouble handling Unit symbol

2012-03-30 Thread Paul Libbrecht
Rajani, you need to look at the analysis tools of solr-admin, or even luke, to help you. paul Le 30 mars 2012 à 10:01, Rajani Maski a écrit : > Hi, > > We have data having such symbols like : µ > > > Indexed data has -Dose:"0 µL" > Language type - "English" > > > Now , when it is s

Re: UTF-8 encoding

2012-03-30 Thread henri.gour...@laposte.net
Paul, velocity.properties are set. One thing I am not 100% sure about is where this file should reside? I have placed in in the example/solr/conf/velocity folder (where the .vm files reside). Cheers, Henri -- View this message in context: http://lucene.472066.n3.nabble.com/UTF-8-encoding-tp386

Re: query help

2012-03-30 Thread Ahmet Arslan
> b) As i have explained i have result set( documents ) and > each document > contains a fields "*ad_text*" (with other fields also) which > is > multivalued..storing some tags say "B1, B2, B3" in each. bt > order of tags > are different for each doc. say (B1, B2, B3) *for > doc1*,  B3,B1 B2*, for

Re: SolrCloud

2012-03-30 Thread Erick Erickson
Zookeeper is the "meta data" repository. It's in charge of keeping the state of the cluster, which machines are up/down, etc. It's also where the bookkeeping for bringing on additional shards lives. Best Erick On Fri, Mar 30, 2012 at 12:30 AM, asia wrote: > Ok.Then what does exactly zookeeper do

Re: Quantiles in SOLR ???

2012-03-30 Thread Erick Erickson
I really don't understand what you're trying to accomplish. What is a "quantities function"? What do you want it to do? Best Erick On Fri, Mar 30, 2012 at 2:50 AM, Kashif Khan wrote: > Hi all, > > I am doing R&D about SOLR using any quantiles function for a set. I need a > quick-start road-map f

Re: Using jetty's GzipFilter in the example solr.war

2012-03-30 Thread mechravi25
Hi, I tried by including the following filter tag inside the web.xml in the /apache-solr-1.5-dev/example/work/Jetty/webapp/WEB-INF GzipFilter org.mortbay.servlet.GzipFilter mimeTypes text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,ima

Re: Solr advanced boosting

2012-03-30 Thread mads
Hi Martin, Thanks for the reply. I have been reading a bit about the way you suggest, so I think I will try to look further into it, unless anybody else has comments or ideas. Thanks again. Regards Mads -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-advanced-boosting-t

Re: Using jetty's GzipFilter in the example solr.war

2012-03-30 Thread Dmitry Kan
you didn't say, which jetty version you are using. This blog post tells how to configure depending on it: http://blog.max.berger.name/2010/01/jetty-7-gzip-filter.html On Fri, Mar 30, 2012 at 3:00 PM, mechravi25 wrote: > Hi, > > I tried by including the following filter tag inside the web.xml in

Re: Solr advanced boosting

2012-03-30 Thread Jamie Johnson
Another option is to use something like edismax http://wiki.apache.org/solr/ExtendedDisMax. You simply assign your qf as something like title^10 brand^5 description^1 and then do a sort based on price/discount, i.e. sort=price asc, discount desc On Fri, Mar 30, 2012 at 8:17 AM, mads wrote: > Hi

Re: SolrCloud

2012-03-30 Thread Mark Miller
If you want to be able to continue when a node goes down, you need at least one replica for each shard. Then if a node goes down, the replica will continue serving requests for that shard. If you have no replicas and a node goes down, requests would return only partial results! We will support

Re: [Announce] Solr 4.0 with RankingAlgorithm 1.4.1, NRT now supports both RankingAlgorithm and Lucene

2012-03-30 Thread Nagendra Nagarajayya
The NRT implementation which is different from the soft commit implementation is being contributed back to the Solr source. This should happen anytime now. The RA is closed source so I am not sure how this could be contributed or made available as a module. Will explore this option. Regards,

Solr 3.1 JDBC DataImportHandler doesn't work with Tomcat v7.0.23

2012-03-30 Thread Bill Kratochvil
The DataImportHandler stopped working for our JDBC connection to SQL Server after deploying to a new production environment. When querying the import status it would just report "busy". We attached the SQL Profiler to our SQL Server and saw that when an import was requested that it touched th

Position Solr results

2012-03-30 Thread Manuel Antonio Novoa Proenza
Hi I'm not good with English, and for this reason I had to resort to a translator. I have the following question ... How I can get the position in which there is a certain website in solr results generated for a given search criteria ? regards ManP 10mo. ANIVERSARIO DE LA CRE

Re: Solr adding and commit

2012-03-30 Thread Erick Erickson
Commit as rarely as possible. But let's be clear what "commit" means, I'm talking about an actual call to _server.commit() as opposed to _server.add(List). I don't issue an explicit commit until all the documents are indexed, just rely on commitWithin to keep things flowing. I'm guessing you're ta

index the links having a certain website

2012-03-30 Thread Manuel Antonio Novoa Proenza
Hello I'm not good with English, and therefore I had to resort to a translator. I have the following question ... How I can index the links having a certain website ? regards ManP 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FU

Re: Quantiles in SOLR ???

2012-03-30 Thread Walter Underwood
Quantiles require accessing the entire list of results, or at least, sorting by the interesting values, checking the total hits, then accessing the results list at the desired interval. So, with 3000 hits, get deciles by getting the first row, then the 301st row, the 601st row, etc. This might

Re: Quantiles in SOLR ???

2012-03-30 Thread Erick Erickson
Duh. quantiles. I was reading quantities. Old eyes. On Fri, Mar 30, 2012 at 1:44 PM, Walter Underwood wrote: > Quantiles require accessing the entire list of results, or at least, sorting > by the interesting values, checking the total hits, then accessing the > results list at the desired inte

Re: Custom scoring question

2012-03-30 Thread Tomás Fernández Löbbe
But if you have that "score" in a field, you could use that field as part of a function-query instead of directly sorting on it, that would mix this "score" with the score calculated with other fields. On Thu, Mar 29, 2012 at 5:49 PM, Darren Govoni wrote: > Yeah, I guess that would work. I wasn'

Re: Unload(true) doesn't delele Index file when unloading a core

2012-03-30 Thread vybe3142
Thanks, good to know. I'll program around this. -- View this message in context: http://lucene.472066.n3.nabble.com/Unload-true-doesn-t-delele-Index-file-when-unloading-a-core-tp3862816p3872022.html Sent from the Solr - User mailing list archive at Nabble.com.

Sorting each group using different fields

2012-03-30 Thread prakash.balaji
We have one single query which returns products belonging to multiple subcategories, we group the products by subcategory, the requirement we have now is that we need to sort the products in each subcategory using its own sort order. We can't use single field to sort because a same product could be

How do I use localparams/joins using SolrJ and/or the Admin GUI

2012-03-30 Thread vybe3142
Here's a JOIN query using local params that I can sucessfully execute on a browser window: When I paste the relevant part of the query into the SOLR admin UI query interface, {!join+from=join_id+to=id}attributes_AUTHORS.4:4, I fail to retrieve any documents The query transaltes to : Serve

Re: pattern error in PatternReplaceCharFilterFactory

2012-03-30 Thread Chris Hostetter
: This works. Other patterns tried were: \p{InLatin-1_Supplement} or \p{Latin} : These throw an exception, from the log: : *** : Mar 29, 2012 5:56:45 PM org.apache.solr.common.SolrException log : SEVERE: null:org.apache.solr.common.SolrException: Plugin init failure for : [schema.xml] fieldType:Pl

Re: Trouble handling Unit symbol

2012-03-30 Thread Chris Hostetter
: We have data having such symbols like : µ : Indexed data has -Dose:"0 µL" : Now , when it is searched as - Dose:"0 µL" ... : Query Q value observed : S257:"0 µL/injection" First off: your "when searched as" example does not match up to your "Query Q" observed value (ie: field

Distributed grouping issue

2012-03-30 Thread Young, Cody
Hi All, I'm having an issue getting distributed grouping working on trunk (Mar 29, 2012). If I send this query: http://localhost:8086/solr/core0/select/?q=*:*&group=false &shards=localhost:8086/solr/core0,localhost:8086/solr/core1,localhost:8086/solr/core2,localhost:8086/solr/core3,localhost:

RE: Distributed grouping issue

2012-03-30 Thread Young, Cody
I forgot to mention, I can see the distributed requests happening in the logs: Mar 30, 2012 4:49:13 PM org.apache.solr.core.SolrCore execute INFO: [core2] webapp=/solr path=/select params={group.distributed.first=true&distrib=false&wt=javabin&rows=10&version=2&fl=document_id,score&shard.url=local

Re: Slow first searcher with facet on bibliographic data in Master - Slave

2012-03-30 Thread Chris Hostetter
: I do have a firstSearcher, but currently coldSearcher is set to true. : But doesn't this just mean that that any searches will block while the : first searcher is running? This is how the comment describes first : searcher. It would almost give the same effect; that some searches take : a lon

Large Index and OutOfMemoryError: Map failed

2012-03-30 Thread Gopal Patwa
*I need help!!* * * *I am using Solr 4.0 nightly build with NRT and I often get this error during auto commit "**java.lang.OutOfMemoryError:* *Map* *failed". I have search this forum and what I found it is related to OS ulimit setting, please se below my ulimit settings. I am not sure what ulimit