How to return a result with multiple query?

2012-04-03 Thread neosky
1.I did 5 gram token in my sequence field, and I search as the following http://192.168.52.137:8983/solr/select?indent=on&defType=dismax&version=2.2&q=sequence:N%20sequence:N%20sequence:G&fq=&start=0&rows=10&fl=*,score&qt=&wt=&explainOther=&hl=on&hl.fl=sequence I want to return a docu

solrcloud is deleteByQuery stored in transactions and forwarded like other operations?

2012-04-03 Thread Jamie Johnson
I haven't personally seen this issue but I have been told by another developer that he ran a deleteByQuery("*:*"). This deleted the index, but on restart there was information still in the index. Should this be possible? I had planned to setup something to test this locally but wanted to know if

Re: how to index data in solr form database automatically

2012-04-03 Thread Charith Mahawatta
Hi Mates, I followed your steps and it worked for me. Thank you very much. regards, Charith Mahawatta,

Re: A curious request about a curious request handler

2012-04-03 Thread Benson Margulies
Grant, let me see if I can expand this, as it were: {!benson f1:v1 f2:v2 f3:v3} (or do I mean {!query defType='benson' ...}?) I see how that could expand to be anything else I like. However, the Function side has me a little more puzzled. The information from the fields inside my {! ... } gets

pagerank??

2012-04-03 Thread Manuel Antonio Novoa Proenza
Hello, I have in my Solr index , many indexed documents. Let me know any way or efficient function to calculate the page rank of websites indexed. s 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http:/

Re: space making it hard tu use wilcard with lucene parser

2012-04-03 Thread Ahmet Arslan
> I query: > http://localhost:8983/solr/select/?qt=/suggest&q=fsuggest:wi/rac/ho*  > -- I > get the doc > http://localhost:8983/solr/select/?qt=/suggest&q=fsuggest:wi/rac/house > a* -- > I don't get that doc, and I get other docs that have > fsuggest:abc > > Is there a way to query for: fsuggest

space making it hard tu use wilcard with lucene parser

2012-04-03 Thread jmlucjav
Hi, I have a field type simpletext: I have such a field name="fsuggest" type="simpletext" I index there a value like this (bewtween []): [wi/rac/house aa bbb] I can see in analysys page it is indexed as [wi/rac/h

custom field default qf of requestHandler

2012-04-03 Thread Peyman Faratin
Hi I have a problem with the following context. I have a field with a custom type of "shingledcontent", defined as follows in the schema.xml where I then d

Re: viewing the terms indexed for a specific document

2012-04-03 Thread kmohanas
I wiped out my entire index & tried to index only 2 - 3 docs along with the problematic document. I figured out the issue now. It was caused due to the presence of the 2 filters - --- -- The synonym had some of these special characters in there & that was causing

Re: Position Solr results

2012-04-03 Thread Ravish Bhagdev
Hi, I don't believe Solr has anything built in that will do this for you. You will likely have to just get the IDs and lookup at what position the ID you are referring to occurs (using Java or other programming language/scripts). Rav On Sun, Apr 1, 2012 at 5:54 PM, Manuel Antonio Novoa Proenza

Re: solr join

2012-04-03 Thread abhayd
i already have multvalued relatedVideoId field which i m trying to join with id -- View this message in context: http://lucene.472066.n3.nabble.com/solr-join-tp3881832p3882034.html Sent from the Solr - User mailing list archive at Nabble.com.

Incremantally updating a VERY LARGE field - Is this possibe ?

2012-04-03 Thread vybe3142
Some days ago, I posted about an issue with SOLR running out of memory when attempting to index large text files (say 300 MB ). Details at http://lucene.472066.n3.nabble.com/Solr-Tika-crashing-when-attempting-to-index-large-files-td3846939.html Two things I need to point out: 1. I don't need Ti

Re: solr join

2012-04-03 Thread Walter Underwood
Try adding a multivalued relatedVideo field to each document, then you won't need the join. Almost always, you want to do the joins before you load documents into Solr, and use a denormalized schema in Solr. That will be faster and simpler at query time. wunder Search Guy, Chegg On Apr 3, 201

Re: Merging results from two queries

2012-04-03 Thread John Chee
Karthick, I mean perform both query1 and query2 simultaneously, something like query1: (superpower:flight OR name:batman) query2: (superpower:speed AND name:flash) Could be transformed to: (superpower:flight^2 OR name:batman^2) OR (superpower:speed AND name:flash) This would give you all resul

solr join

2012-04-03 Thread abhayd
hi I am trying to use solr join in following way q={!join+from=relatedVideoId+to=id}id:1234 This works fine but anyway for me to get the original document id:1234 along with relatedVideoId's if exists? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-join-tp3881832p3881

Re: viewing the terms indexed for a specific document

2012-04-03 Thread kmohanas
I tried adding &explainOther= and I didn't see any proper explanation getting returned. I am using index time synonym. I got luke 3.5.0 and read the index & pulled up the document in question, but I still don't see the synonym being present as part of the field. I tried to pull another document wh

Re: SOLR hangs - update timeout - please help

2012-04-03 Thread rafal.gwizd...@gmail.com
Hi, To anyone still interested in this subject: after disabling windows nio handler in Jetty SOLR became more stable - currently it's been working for 3 days without any hanging or slowdown. I'll post next update in few days. -- View this message in context: http://lucene.472066.n3.nabble.com/SO

Re: A curious request about a curious request handler

2012-04-03 Thread Grant Ingersoll
On Apr 3, 2012, at 12:37 PM, Benson Margulies wrote: > On Tue, Apr 3, 2012 at 12:27 PM, Grant Ingersoll wrote: >> >> On Apr 3, 2012, at 9:43 AM, Benson Margulies wrote: >> >>> I've made a RequestHandler class that acts as follows: >>> >>> 1. At its initialization, it creates a StandardRequest

RE: shards and grouping

2012-04-03 Thread Young, Cody
I received this error if the solr unique key was set to stored=false. Once I changed it to stored=true I stopped receiving this error. Cody -Original Message- From: ramires [mailto:uy...@beriltech.com] Sent: Tuesday, April 03, 2012 7:15 AM To: solr-user@lucene.apache.org Subject: shard

Re: A curious request about a curious request handler

2012-04-03 Thread Benson Margulies
On Tue, Apr 3, 2012 at 12:27 PM, Grant Ingersoll wrote: > > On Apr 3, 2012, at 9:43 AM, Benson Margulies wrote: > >> I've made a RequestHandler class that acts as follows: >> >> 1. At its initialization, it creates a StandardRequestHandler and hangs onto >> it. >> 2. When a query comes to it (I c

Re: A curious request about a curious request handler

2012-04-03 Thread Grant Ingersoll
On Apr 3, 2012, at 9:43 AM, Benson Margulies wrote: > I've made a RequestHandler class that acts as follows: > > 1. At its initialization, it creates a StandardRequestHandler and hangs onto > it. > 2. When a query comes to it (I configure it to a custom qt value), it: > a. creates a new query

Re: Must set up Solr on my web site's server, how can I fully integrate it? (noob)

2012-04-03 Thread Gora Mohanty
On 3 April 2012 21:37, mace10 wrote: [...] > I guess my complete question is how can I migrate the Solr package from > Jetty to the server on which my site currently resides and furthermore, how > can I index all of my text-containing files so they can be queried by my > soon-to-be search UI? [...

Re: ExtractingRequestHandler

2012-04-03 Thread Ravish Bhagdev
(Bit off-topic but...) I understand the fact that Solr isn't meant to 'store' everything, but because highlighting matches requires a field to be stored I would expect most people having to end-up storing full document content in their indexes? Can't think there is any good workaround for this...

Must set up Solr on my web site's server, how can I fully integrate it? (noob)

2012-04-03 Thread mace10
I apologize in advance that my knowledge isn't as expansive as I'm sure is the case with most of you, but nonetheless: I've been messing around with Solr for a little while now, playing with the Jetty test server the download package provides, and exploring the localhost:8983 testing environment.

Re: Tags and Folksonomies

2012-04-03 Thread Ravish Bhagdev
OK, yes that's true. Although I'd expect term vectors to just increment term count when a tag is re-applied (if you have term vectors enabled), increasing a boost stored as a payload with each tag, each time an existing tag is re-tagged maybe a more sensible approach if this is the case. You'll s

Re: Tags and Folksonomies

2012-04-03 Thread Chris Hostetter
: I am not sure why you suggest Payload for ranking documents with more : frequent tags above those with fewer tags. Wont the term frequency part of : relevancy score ensure this by default? If you make tags a 'lowercase' Sorry, yes ... absolutely - if you use omitNormws=false on the tags fiel

Re: Weird memory leak problem with dataimporthandler scheduling

2012-04-03 Thread janne mattila
OK. Just typing out the question fixed it. Changing from post to get: GetMethod method = new GetMethod(completeUrl); removed the errors. The reason, I cannot explain... On Tue, Apr 3, 2012 at 6:46 PM, janne mattila wrote: > I have implemented dataimporthandler scheduling based on > htt

Weird memory leak problem with dataimporthandler scheduling

2012-04-03 Thread janne mattila
I have implemented dataimporthandler scheduling based on http://wiki.apache.org/solr/DataImportHandler#Scheduling. It periodically triggers full and delta updates. I'm unpacking the original solr.war, adding a few scheduling-related classes such as ApplicationListener etc (I have modified the examp

Re: Quantiles in SOLR ???

2012-04-03 Thread Paul Libbrecht
Kashif, my knowledge in probability is limited but I believe the simple similarity function can be seen as a quantile. You can read about it in many places, I believe I read it in the Lucene in Action book. paul Le 3 avr. 2012 à 15:14, Kashif Khan a écrit : > Thanks for sharing your intellect

RE: using stored procedures in solr query..

2012-04-03 Thread Klostermeyer, Michael
Yes, I just did this in my DIH with SQL Server 2008 and Solr 3.5; it looked somewhat like the following: Mike Klostermeyer -Original Message- From: vighnesh [mailto:svighnesh...@gmail.com] Sent: Tuesday, April 03, 2012 5:29 AM To: solr-user@lucene.apache.org Subject: using storedproce

A curious request about a curious request handler

2012-04-03 Thread Benson Margulies
I've made a RequestHandler class that acts as follows: 1. At its initialization, it creates a StandardRequestHandler and hangs onto it. 2. When a query comes to it (I configure it to a custom qt value), it: a. creates a new query based on the query that arrived b. creates a LocalSolrQueryReque

Re: Quantiles in SOLR ???

2012-04-03 Thread Kashif Khan
Thanks for sharing your intellectual knowledge but my basic question is not answered that whether either solr or lucene is using any method to calculate quantiles and/or using it anyway the quantiles anywhere if yes. Then i want to make use of the same thing rather creating a new one -- View this

Re: Apache solr not indexing complete pdf file using tikka

2012-04-03 Thread Ravish Bhagdev
I'd also suggest trying extracting text using tika-app (shipped with tika distribution as executable jar) on the PDF(s) in question to see if problem is with extraction or with indexing. Rav On Mon, Apr 2, 2012 at 1:55 PM, Erick Erickson wrote: > You can index 2B tokens, so upping maxFieldLength

Re: Tags and Folksonomies

2012-04-03 Thread Ravish Bhagdev
Hi Hoss, I am not sure why you suggest Payload for ranking documents with more frequent tags above those with fewer tags. Wont the term frequency part of relevancy score ensure this by default? If you make tags a 'lowercase' field (with full value tokenisation), the frequency of tags in multival

Re: query limitations?

2012-04-03 Thread Carlos Alberto Schneider
Good Morning, I went through this problem too. I changed the server.xml config in tomcat, and set the maxHttpHeaderSize field to 10. If Solr is running on another app server, search for a configuration like this. I hope it works... * * On Tue, Apr 3, 2012 at 4:51 AM, Cheng, Tjin wrot

query limitations?

2012-04-03 Thread Cheng, Tjin
Dear Sir/Madam, I have a problem with querying/finding a certain document when searching with a certain text. The searched text is indexed in the str field of the specific document. The complete text in the str field has more than 6000 characters. However I am only able to find the document whe

SolrCloud

2012-04-03 Thread asia
What is the difference between solr and solrcloud? -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-tp3880780p3880780.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrCloud

2012-04-03 Thread asia
I tried solrwiki example A but I am getting following errors: HTTP ERROR 500 Problem accessing /solr/collection1/admin/zookeeper.jsp. Reason: PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: Only a type can be imported. org.apache.zookeeper.data.Stat resolves to a

using storedprocedures in solr query..

2012-04-03 Thread vighnesh
Hi all, Is it possible to execute to stored procedures placed in data-config.xml file in solr ? please give response ... Thanx in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/using-storedprocedures-in-solr-query-tp3880557p3880557.html Sent from the Solr - User