Query for exact part of sentence

2012-01-30 Thread Arkadi Colson
Hi I'm using the pecl PHP class to query SOLR and was wondering how to query for a part of a sentence exactly. There are 2 data items index in SOLR 1327497476: 123 456 789 1327497521. 1234 5678 9011 However when running the query, both data items are returned as you can see below. Any idea

stop distributed facet query when a condition is met

2012-01-30 Thread Dmitry Kan
Hello! I probably have an unusual question. I'm trying to implement a modification to FacetComponent's distributed search. This modification would act as follows: 1. First ask latest in time shard. If facet.limit has been satisfied, return what is found. 2. If facet.limit is not yet satisfied,

Re: Which patch 236 to choose for collapse - Solr 3.5

2012-01-30 Thread O. Klein
You need to remove the class=org.apache.solr.handler.component.CollapseComponent from solrconfig.xml as it no longer exists. With group.format=simple you get output looking more like the output you are used to. -- View this message in context:

Something like featured results in solr response?

2012-01-30 Thread Pranav Prakash
Hi, I believe, there is a feature in Solr, which allows to return a set of featured documents for a query. I did read it couple of months back, and now when I have decided to work on it, I somehow can't find it's reference. Here is the description - For a search keyword, apart from the results

Re: Something like featured results in solr response?

2012-01-30 Thread Rafał Kuć
Hello! Please look at http://wiki.apache.org/solr/QueryElevationComponent. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Hi, I believe, there is a feature in Solr, which allows to return a set of featured documents for a query. I did read it couple of

Re: Something like featured results in solr response?

2012-01-30 Thread Pranav Prakash
Thanks a lot :-) This is exactly what I had read back then. However, going through it now, it seems that everytime a document needs to be elevated, it has to be in the config file. Which means that Solr should be restarted. This does not make a lot of sense for a production environment, where Solr

Sort by geoDist() syntax error on 3.5

2012-01-30 Thread darul
Hello, Looking in threads to find the correct syntax, I have not found any solutions to get right syntax on sorting by distance. Here query with no sort : With sort activated, it throws an exception : I have tried: No success. Schema: Thanks in advance, I really need it as you may

Re: Something like featured results in solr response?

2012-01-30 Thread Ahmet Arslan
it seems that everytime a document needs to be elevated, it has to be in the config file. Which means that Solr should be restarted. This does not make a lot of sense for a production environment, where Solr restarts are as infrequent as config changes. What could be a sound way to

Re: Sort by geoDist() syntax error on 3.5

2012-01-30 Thread darul
Well, I guess I have found the problem in the following thread geodist() sort does not work if sfield parameter is enclosed in LocalParams http://www.lucidimagination.com/search/link?url=https://issues.apache.org/jira/browse/SOLR-2254 Correct syntax may be : -- View this message in context:

sage 200 not matching ... sage 200.

2012-01-30 Thread Robert Brown
The trailing full-stop above is not being matched when searching for sage 200 for the below field type... Do I need the WordDelimiterFilterFactory for this to work as expected? I don't see any mention of periods being discussed in the docs. fieldType name=textgen class=solr.TextField

Re: sage 200 not matching ... sage 200.

2012-01-30 Thread Ahmet Arslan
The trailing full-stop above is not being matched when searching for sage 200 for the below field type... Do I need the WordDelimiterFilterFactory for this to work as expected? I don't see any mention of periods being discussed in the docs. fieldType name=textgen class=solr.TextField

Re: Multilingual search in multicore solr

2012-01-30 Thread Erick Erickson
for 1. Not that I know of. What you can do, and relatively simply at that, is create a SolrJ program that uses Tika to parse the files on the *client*. At that point you can do anything you'd like, including detect language, route the document to the right core, etc. This will also give you more

Re: Something like featured results in solr response?

2012-01-30 Thread Erick Erickson
There's the tricky line: If the file exists in the /conf/ directory it will be loaded once at start-up. If it exists in the data directory, it will be reloaded for each IndexReader. on the page: http://wiki.apache.org/solr/QueryElevationComponent Which basically means that if your config file is

RE: Sort by geoDist() syntax error on 3.5

2012-01-30 Thread Steven A Rowe
Hi darul, Nobody got your suggested Correct syntax: Nabble.com strips markup, e.g. XML, from emails that you send through them. I have complained to them about this problem through their support channel repeatedly, and you can see the result: they have done nothing to fix the problem. My

Index-Analyzer on Master with StopFilterFactory and Query-Analyzer on Slave with StopFilterFactory

2012-01-30 Thread Daniel Brügge
Hi, I am using a 'text_general' fieldType (class = solr.TextField) in my schema. And I have a master/slave setup, where I index on the master and read from the slaves. In the text_general field I am using 2 analyzers. One for indexing and one for querying with stopword-filters. What I am

RE: Sort by geoDist() syntax error on 3.5

2012-01-30 Thread darul
Is it readable now ? Thanks Steve. -- View this message in context: http://lucene.472066.n3.nabble.com/Sort-by-geoDist-syntax-error-on-3-5-tp360p3700539.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Sort by geoDist() syntax error on 3.5

2012-01-30 Thread Steven A Rowe
No, it's not. If I follow the link below your email to nabble.com, I can read your message, including your suggested correct syntax - I'll quote it below for you, and since I don't use nabble, everyone who reads this list will be able to see it: Correct syntax may be :

Out of Memory

2012-01-30 Thread Milan Dobrota
Hi, I have a Solr instance with 6M item index. It normally uses around 3G of memory. I have suddenly started getting out of memory errors and increasing the Xmx parameter to over 4G didn't fix the problem. It was just buying us time. Inspecting the heap, I figured that 90% of memory is occupied

Re: SOLVED: Strange things happen when I query with many facet.prefixes and fq filters

2012-01-30 Thread Yuhao
Good question.  I checked the output sent to Jetty.  In the case where it returns a blank page, nothing at all is sent to Jetty.  This raised my suspicion that Solr never got a chance to process the query.  Sure enough, it led me to the finding that Jetty by default cannot take more than 4 KB

SolrCloud war?

2012-01-30 Thread Darren Govoni
Hi, Is there any issue with running the new SolrCloud deployed as a war in another app server? Has anyone tried this yet? thanks.

product(popularity,score) gives error undefined field score

2012-01-30 Thread abhayd
hi I m trying to add some weight for popularity in the score returned by solr query. http://localhost:10101/solr/syx/select?q={!boost%20b=product(popularity,score)}SIMrows=100fl=score,iddebug=true I get error undefined field score Any idea how to do this? -- View this message in context:

Indexing leave behind write.lock file.

2012-01-30 Thread Koorosh Vakhshoori
Hi, I am using SolrJ to reindex a core in a multiCore setup. The general flow of my program is as follows (pseudo code): String solrHome = /opt/solr/home; File solrXml = new File( solrHome, solr.xml ); container = new CoreContainer(); container.load(solrHome, solrXml); SolrServer solr = new

Re: Multilingual search in multicore solr

2012-01-30 Thread bing
Hi, Erick Erickson, Your suggestions are sound. For (1), if I use SolrJ as the client to access Solr, then java coding becomes the most challenging part. Technically, I want to achieve the same effect with highlighting, faceting search, language detection, etc. Do you know some example SC that

Re: language specific fields of text

2012-01-30 Thread bing
Hi, Paul, I understand your point of missing text_en in the document. It is. Not text_en but text exists. But then it arises the question: isn't it dynamic to add language specific suffixes to an existing filed text? I am new here. As far as I know, for some field title, people can create

Re: can solr automatically search for different punctuation of a word

2012-01-30 Thread alxsss
Hi Chantal, In the readme file at solr/contrib/analysis-extras/README.txt it says to add the ICU library (in lib/) Do I need also add dependecy... and where? Thanks. Alex. -Original Message- From: Chantal Ackermann chantal.ackerm...@btelligent.de To: solr-user

Source code of post in example package of Solr

2012-01-30 Thread bing
Hi, all, I am using the following jar to index files in xml format, and I want to look into the source code. Where can I find it? Thanks. \apache-solr-3.5.0\example\exampledocsjava -jar post.jar *.xml Best Regards, Bing -- View this message in context:

Re: solr custom component

2012-01-30 Thread Peter Markey
Hi Eric, I tried looking for a sample code to sort on Date but was unable to find one? I am using 3.4 version. Any idea as to where I can find one? Thanks a ton On Fri, Jan 27, 2012 at 8:13 AM, Erick Erickson erickerick...@gmail.comwrote: Why not just sort on date and take the first doc

Re: Something like featured results in solr response?

2012-01-30 Thread Pranav Prakash
Wow, this looks interesting. *Pranav Prakash* temet nosce Twitter http://twitter.com/pranavprakash | Blog http://blog.myblive.com | Google http://www.google.com/profiles/pranny On Mon, Jan 30, 2012 at 21:16, Erick Erickson erickerick...@gmail.comwrote: There's the tricky line: If the file

Re: Source code of post in example package of Solr

2012-01-30 Thread Ahmet Arslan
I am using the following jar to index files in xml format, and I want to look into the source code. Where can I find it? Thanks. \apache-solr-3.5.0\example\exampledocsjava -jar post.jar *.xml Hi Bing, it is