Exception on distributed date facet SOLR-1709

2011-03-18 Thread Viswa S
Folks, We are trying to do some date faceting on our distributed environment, applied solr-1709 on the trunk. A date facet query throws the below exception, I have attached the patched source for reference. Any help would be appreciated. Other Info: Java ver: 1_6_0_24 Trung change list: 1022

Re: Greek and English text into the same field

2011-03-18 Thread Upayavira
You're likely going to have to try it and see what works. But here's some suggestions: If the content is merged inseparably into one field, maybe you could index that field twice, as text_en and text_gr using copyField. You could then have a different analyser for each, and see what results you ge

Re: Retrieving Ranking (Position)

2011-03-18 Thread Upayavira
Not sure if there is a way to make Solr do it by itself. If you cannot have your app do it (which would be best), you could add an XSLT stylesheet to Solr that would enhance the result set using the XSLT position() function. Upayavira On Thu, 17 Mar 2011 17:25 -0400, "Jae Joo" wrote: > Hi, > >

Re: Greek and English text into the same field

2011-03-18 Thread Robert Muir
On Thu, Mar 17, 2011 at 9:18 PM, abiratsis wrote: > > Basicaly I don't know what the best approach is for handling a multilingual > case like mine e.g:should I create a seperate index for each language? > In this particular case (Greek, English), they use totally distinct characters. so their ter

Re: Smart Pagination queries

2011-03-18 Thread Erik Hatcher
And don't forget about faceting (and now grouping) that are dependent upon the result set being entirely set within the query component. So if you're client-side filtering out docs your facet counts could be way wrong (and again, also grouping). Erik On Mar 17, 2011, at 20:57 , C

Re: SOLR building problems

2011-03-18 Thread Erick Erickson
On Thu, Mar 17, 2011 at 10:05 AM, royr wrote: > java version "1.6.0_21" > Java(TM) SE Runtime Environment (build 1.6.0_21-b06) > Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode) > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-building-problems-tp2692916p2

Re: DIH Issue(newbie to solr)

2011-03-18 Thread Gora Mohanty
On Fri, Mar 18, 2011 at 2:45 AM, neha wrote: > I am a newbie to solr I have an issue with DIH but unable to pinpoint what is > causing the issue. I am using the demo jetty installation of Solr and tried > to create a project with new schema.xml, solrconfig.xml and data-config.xml > files. when I r

Re: Segments and Memory Correlate?

2011-03-18 Thread Erick Erickson
543M documents? On a single machine? How big is the index anyway? I think you're running up against physical memory limitations, the number of segments is a red herring. You're at a point where you need to shard your index to multiple machines I'd guess. Or perhaps that point was some time ago ...

Re: Sorting on multiValued fields via function query

2011-03-18 Thread Erick Erickson
+1 for both Chris's and Yonik's comments. On Thu, Mar 17, 2011 at 3:19 PM, Yonik Seeley wrote: > On Thu, Mar 17, 2011 at 2:12 PM, Chris Hostetter > wrote: >> As the code stands now: we fail fast and let the person building hte index >> make a decision. > > Indexing two fields when one could work

Re: Adding the suggest component

2011-03-18 Thread Erick Erickson
What do you mean "you copied the contents...to the right place"? If you checked out trunk and copied the files into 1.4.1, you have mixed source files between disparate versions. All bets are off. Or do you mean jar files? or??? I'd build the source you checked out (at the Solr level) and use tha

Re: Greek and English text into the same field

2011-03-18 Thread abiratsis
OK thanx a lot guys, one last question is there any need to download and embed the stopwords-synonyms files or solr.war already contains them? -- View this message in context: http://lucene.472066.n3.nabble.com/Greek-and-English-text-into-the-same-field-tp2696186p2697795.html Sent from the Solr -

Re: Info about Debugging SOLR in Eclipse

2011-03-18 Thread Erick Erickson
BTW, it's sometimes easier to debug if you forget the servlet container and just debug through a Junit test case. Just fire up an individual test case in debug mode and step wherever you want. Of course sometimes that's inadequate, but it's worth having in you bag of tricks. Best Erick On Thu, M

Re: Exception on distributed date facet SOLR-1709

2011-03-18 Thread Peter Sturge
Hi Viswa, This patch was orignally built for the 3x branch, and I don't see any ported patch revision or testing for trunk. A lot has changed in faceting from 3x to trunk, so it will likely need a bit of adjusting to cater for these changes (e.g. deprecation of date range in favour of range). Have

Re: SOLR building problems

2011-03-18 Thread royr
It works!! Ant was using an old java version from another directory. THANK you:) -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-building-problems-tp2692916p2697973.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
That does seem like a better solution. I downloaded a recent version and there were the following files/folders: build.xml dev-tools LICENSE.txt lucene NOTICE.txt README.txt solr So I did cp -r solr/* /path/to/solr/stuff/ and started solr. I didn't get any error message but I only got the followi

Re: Solr admin page timed out and index updating issues

2011-03-18 Thread Ranma
Thank you, Markus for your reply. ..Well, in the end I think I found a way to make something work! Apart from Solr Admin Page letting me randomly access, I could eventually be able to update the search index and have the web site search functionality work. This is how: - I had to set the java

Re: Full text hit term highlighting

2011-03-18 Thread lboutros
Hi, It seems that we have the same problem, how did you solve it ? Did you write some pieces of code ? thx, Ludovic - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Full-text-hit-term-highlighting-tp2020402p2698440.html Sent from the Solr - User mailing l

How to get stopwords and synonyms files for several lanuages

2011-03-18 Thread abiratsis
Hello everyone, I am developing a multilingual index so there is a need for different languages support. I need some answers to the follwing questions: 1. Which steps should I follow in order to get(download) all the stopwords-synonyms files for several languages? 2. Is there any site containin

Re: How to get stopwords and synonyms files for several lanuages

2011-03-18 Thread Markus Jelsma
On Friday 18 March 2011 17:09:35 abiratsis wrote: > Hello everyone, > > I am developing a multilingual index so there is a need for different > languages support. I need some answers to the follwing questions: > > 1. Which steps should I follow in order to get(download) all the > stopwords-synony

RE: Exception on distributed date facet SOLR-1709

2011-03-18 Thread Viswa S
Peter I haven't, our implementation needs ZK integration.Would be great if you can give any additional pointers on porting this to trunk. Thanks Viswa > Date: Fri, 18 Mar 2011 13:52:39 + > Subject: Re: Exception on distributed date facet SOLR-1709 > From: peter.stu...@gmail.com > To: so

Re: How to get stopwords and synonyms files for several lanuages

2011-03-18 Thread abiratsis
OK thanx Markus, is clear enough now -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-get-stopwords-and-synonyms-files-for-several-lanuages-tp2698494p2698566.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to get stopwords and synonyms files for several lanuages

2011-03-18 Thread abiratsis
OK thanx Markus, is clear enough now -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-get-stopwords-and-synonyms-files-for-several-lanuages-tp2698494p2698567.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to get stopwords and synonyms files for several lanuages

2011-03-18 Thread abiratsis
Basically I have one more question, by saying that "Synonyms largely depend on what you're indexing" you mean that I probably need to implement a mechanism for handling synonyms right? If yes, you have any suggestions how to implement this? Thanx, Alex -- View this message in context: http://luc

Re: How to get stopwords and synonyms files for several lanuages

2011-03-18 Thread Markus Jelsma
No, it's not an implementation its more dependant on business. I mean, there is no need expand synonyms for terms in a biology field while you're indexing physics documents. On Friday 18 March 2011 17:31:23 abiratsis wrote: > Basically I have one more question, by saying that "Synonyms largely d

SolrServerException: java.net.SocketTimeoutException: Read timed out

2011-03-18 Thread Mike Franon
Hi, I am seeing this error from another jboss server that connects to solr for queries/updates SolrServiceImpl] Solr server exception org.apache.solr.client.solrj.SolrServerException: java.net.SocketTimeoutException: Read timed out On the solr serer itself only thing I am seeing is INFO org.a

Re: Adding the suggest component

2011-03-18 Thread Darx Oman
Hi Solr 3.x and 4.x (trunk) include a component called Suggester http://wiki.apache.org/solr/Suggester

Re: memory not getting released in tomcat after pushing large documents

2011-03-18 Thread Darx Oman
Hi guys I'm facing a simillar porblem and i find out it is caused by MS SQL that is running in the same machine by just restarting MS SQL service, memory goes down.

Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-03-18 Thread Anurag
I have some sample code to implement it written using Lucene. This code is not final and need many modification. Now i want to embed with solr. How this is possible. the code is below //package lia.searching; import java.util.Arrays; import java.util.Collections; //import org.apache.lucene.analysi

Re: DIH Issue(newbie to solr)

2011-03-18 Thread neha
Here are the links to the file SOlr Response http://pastebin.com/3KJhAe2q Schema.xml https://github.com/projectblacklight/blacklight-jetty/blob/master/solr/conf/schema.xml SOlrConfil.xml https://github.com/projectblacklight/blacklight-jetty/blob/master/solr/conf/solrconfig.xml Data-config.xml

Re: Adding the suggest component

2011-03-18 Thread Geert-Jan Brits
> 2011-03-18 14:11:02.284:INFO::Started SocketConnector@0.0.0.0:8983 Solr started on port 8983 instead of this: > http://localhost/solr/admin/ try this instead: http://localhost:8983/solr/admin/ Cheers, Geert-Jan 2011/3/18 Brian Lamb > That does seem like a be

Please reply "how to embed code to solr"

2011-03-18 Thread Anurag
http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-td2261469.html Link - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Please-reply-how-to-embed-code-to-solr-tp2699218p2699218.html Sent from the

Surge 2011 Conference CFP

2011-03-18 Thread Katherine Jeschke
We are excited to announce Surge 2011, the Scalability and Performance Conference, to be held in Baltimore on Sept 28-30, 2011. The event focuses on case studies that demonstrate successes (and failures) in Web applications and Internet architectures. This year, we're adding Hack Day on September 2

Search in all the documents

2011-03-18 Thread Juan Manuel Alvarez
Hello everyone! I would like to ask you a question. I am trying to search in all documents using the dismax parser. A sample query that works using the q parameter goes like this: select/?q=air&qf=description%20name&start=0&rows=60&sort=name+asc&fq=(projectId:1)&defType=dismax&fq=(type:3)&fq=(fol

Solr, cURL, and Java runtime

2011-03-18 Thread rockholla
I'm experiencing something weird while trying to post updates to Solr docs via cURL from exec in Java runtime. I can't figure out if this is something strange with Solr's update mechanism, cURL, or Java runtime oddities, so please excuse if I'm posting here incorrectly. Any help would be greatly

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
Sorry, that was a typo on my part. I was using http://localhost:8983/solr/admin and getting the above error messages. On Fri, Mar 18, 2011 at 2:57 PM, Geert-Jan Brits wrote: > > 2011-03-18 14:11:02.284:INFO::Started SocketConnector@0.0.0.0:8983 > Solr started on port 8983 > > instead of this: >

Re: Search in all the documents

2011-03-18 Thread Ahmet Arslan
> I am trying to search in all documents using the dismax > parser. > > A sample query that works using the q parameter goes like > this: > select/?q=air&qf=description%20name&start=0&rows=60&sort=name+asc&fq=(projectId:1)&defType=dismax&fq=(type:3)&fq=(folder:0) > > But when I have nothing to pu

Re: Search in all the documents

2011-03-18 Thread Juan Manuel Alvarez
Thanks!!! That did the trick! =o) On Fri, Mar 18, 2011 at 5:09 PM, Ahmet Arslan wrote: >> I am trying to search in all documents using the dismax >> parser. >> >> A sample query that works using the q parameter goes like >> this: >> select/?q=air&qf=description%20name&start=0&rows=60&sort=name+as

Re: Adding the suggest component

2011-03-18 Thread Ahmet Arslan
> downloaded a recent version and > > > there were the following files/folders: > > > > > > build.xml > > > dev-tools > > > LICENSE.txt > > > lucene > > > NOTICE.txt > > > README.txt > > > solr > > > > > > So I did cp -r solr/* /path/to/solr/stuff/ and > started solr. I didn't get > > > any error m

Re: Search in all the documents

2011-03-18 Thread Bill Bell
q.alt=*:* should work Bill Bell Sent from mobile On Mar 18, 2011, at 1:37 PM, Juan Manuel Alvarez wrote: > Hello everyone! I would like to ask you a question. > > I am trying to search in all documents using the dismax parser. > > A sample query that works using the q parameter goes like thi

Re: Different options for autocomplete/autosuggestion

2011-03-18 Thread Kai Schlamp-2
One autosuggestion solution would be to query normal text fields. That way you have the whole feature set of Solr (like NGram filtered text for infix search or field queries to scope the search). If you also store the data of the text field you directly have the results to use as autosuggestions. U

Re: Problem with field collapsing of patched Solr 1.4

2011-03-18 Thread Kai Schlamp-2
Unfortunately I have to use Solr 1.4.x or 3.x as one of the interfaces to access Solr uses Sunspot (a Ruby Solr library), which doesn't seem to be compatible with 4.x. Kai Otis Gospodnetic-2 wrote: > > Kai, try SOLR-1086 with Solr trunk instead if trunk is OK for you. > > Otis > > Sematex

Solr tuning parameters

2011-03-18 Thread Gerd W. Naschenweng
I am looking for feedback on your setup and current tuning parameters. Hopefully with your feedback we can enhance on the Wiki to list common tuning parameters. If you can provide the following info, I think it would help everyone starting off on Solr. I would be specifically interested in your