Re: Why Slop doens't match anything?

2011-07-27 Thread Gora Mohanty
On Wed, Jul 27, 2011 at 8:38 PM, Alexander Ramos Jardim alexander.ramos.jar...@gmail.com wrote: Hello pals, Using solr 1.4.0. Trying to understand something. When I run the query *fieldA:nokia c3*, I get 5 results. All with nokia c3, as expected. But when I run fieldA:nokia c3~100, I don get

Re: Schema.xml Change...

2011-07-26 Thread Gora Mohanty
On Tue, Jul 26, 2011 at 3:55 PM, Vignesh.v vignes...@ninestars.in wrote: Dear Team,               We tried changing the schema.xml to the user xml format but it shows error.Kindly give me a solution to carry out this process. [...] Sorry, what does that mean exactly? Please provide details

Re: dih fetching but not adding records to index

2011-07-25 Thread Gora Mohanty
On Fri, Jul 22, 2011 at 12:42 AM, abhayd ajdabhol...@hotmail.com wrote: hi I m trying to load data into solr index from a xml file using dih my promotions.xml file -- add        doc                field name=id3/field        /doc        doc                field

Re: dih fetching but not adding records to index

2011-07-25 Thread Gora Mohanty
On Mon, Jul 25, 2011 at 9:36 PM, abhayd ajdabhol...@hotmail.com wrote: hi thanks for the response I am aware of post.sh but i wanted to make use of dih and scheduling. We can not use cron due to some other issues. So was thinking of using scheduling Data import [...] OK, though in that

Re: Solr UI

2011-07-20 Thread Gora Mohanty
On Tue, Jul 19, 2011 at 7:51 PM, Erik Hatcher erik.hatc...@gmail.com wrote: There's several starting points for Solr UI out there, but really the best choice is whatever fits your environment and the skills/resources you have handy.  Here's a few off the top of my head - [...] Besides these

Re: any detailed tutorials on plugin development?

2011-07-20 Thread Gora Mohanty
On Wed, Jul 20, 2011 at 6:29 AM, deniz denizdurmu...@gmail.com wrote: gosh sorry for my typo in msg first... i just realized it now... well anyway... i would like to find a detailed tutorial about how to implement an analyzer or a request handler plugin... but all i have got is nothing from

Re: Preserve XML hierarchy

2011-07-15 Thread Gora Mohanty
On Thu, Jul 14, 2011 at 8:43 PM, Lucas Miguez lucas.mig...@gmail.com wrote: Thanks for your help! DIH XPathEntityProcessor helps me to index the XML Files, but, does it help to me to know from where the node comes? Following the example in my previous post: example: Imagine that the user

Re: Index Solr Logs

2011-07-13 Thread Gora Mohanty
On Wed, Jul 13, 2011 at 8:31 PM, O. Klein kl...@octoweb.nl wrote: Im also interested in this. Noone has ever tried to index solr log with DIH? [...] Just upstream in this thread, Mike pointed out Logg.ly: http://www.loggly.com/ Regards, Gora

Re: Preserve XML hierarchy

2011-07-13 Thread Gora Mohanty
On Wed, Jul 13, 2011 at 10:30 PM, Lucas Miguez lucas.mig...@gmail.com wrote: Hi, is it possible to do that in Apache Solr? If i make a search, how I know from where it comes the result? [...] Your question is not very clear, and I happen unfortunately to be out of crystal balls and Tarot

Re: ' invisible ' words

2011-07-11 Thread Gora Mohanty
On Mon, Jul 11, 2011 at 10:10 AM, deniz denizdurmu...@gmail.com wrote: hi all... I have a field, which is a text type:  field name=info type=text indexed=true stored=true / [...] Please show us the analyser/tokeniser chain for the fieldType info. Regards, Gora

Re: Getting the indexed value rather than the stored value

2011-07-07 Thread Gora Mohanty
On Thu, Jul 7, 2011 at 3:35 AM, Christian engr...@gmail.com wrote: [...] This is great for finding all things with or without profanity (as separate queries), but I would like to get the value as part of a the query and let the consumer of the call decide what to do with the data. Is there a

Re: Include synonys in solr

2011-06-28 Thread Gora Mohanty
On Tue, Jun 28, 2011 at 12:54 PM, Romi romijain3...@gmail.com wrote: Hi, i am using solr for my searches. in this i found a synonyms.text file in which you can include synonyms manually for the words u want. Please see

Re: Solr PhraseSearch and ExactMatch

2011-06-27 Thread Gora Mohanty
On Mon, Jun 27, 2011 at 3:42 PM, Mohammad Shariq shariqn...@gmail.com wrote: Hello, I am using solr1.4 on ubuntu 10.10. Currently I got the requirement to do the ExactMatch  for PhraseSearch. I tried googling but I did'nt got the exact solution. I am doing the search on 'text' field. if I

Re: DIH Scheduling

2011-06-21 Thread Gora Mohanty
On Tue, Jun 21, 2011 at 10:41 PM, sabman sab...@gmail.com wrote: There is information http://wiki.apache.org/solr/DataImportHandler#Scheduling here  about Scheduling but I don't understand how to use them. I am not a Java developer so maybe I am missing something obvious. [...] Depending on

Re: Multiple Cores

2011-06-20 Thread Gora Mohanty
On Mon, Jun 20, 2011 at 10:08 AM, jboy79 joel_pangani...@yahoo.com wrote: Hi, I am new to SOLR and would like to know if multiple cores is the best way to deal with having a product and customer index. If the indexes are going to have very different fields, it is probably the case that you want

Re: DIH entity threads

2011-06-15 Thread Gora Mohanty
On Tue, Jun 14, 2011 at 8:31 PM, Mark static.void@gmail.com wrote: Hello all, We are using DIH to index our data (~6M documents) and its taking an extremely long time (~24 hours). I am trying to find ways that we can speed this up. I've been reading through older posts and it's my

Re: Copying few field using copyField to non multiValued field

2011-06-15 Thread Gora Mohanty
On Wed, Jun 15, 2011 at 6:11 PM, Omri Cohen omri...@gmail.com wrote: thanks for the quick response, though as I said in my original post: *some one has any idea, how I solve this without changing at_location to multiField? * [...] This requirement makes little sense on the face of it, and as

Re: How to involve JMX by configuration

2011-06-14 Thread Gora Mohanty
On Wed, Jun 15, 2011 at 7:41 AM, kun xiong xiongku...@gmail.com wrote: Hi, I am wondering how to start JMX monitor without code change. Currently, I have to insert code LocateRegistry.createRegistry(); into SolrCore.java. And I specify jmx

Re: Multiple Values not getting Indexed

2011-06-11 Thread Gora Mohanty
On Sat, Jun 11, 2011 at 9:52 PM, Pawan Darira pawan.dar...@gmail.com wrote: sorry for the inconvenience. actually i was trying the solution suggested in this mail thread. As mentioned in 1st mail, I am trying to index 2 fields with multiple values. BUT, it is only putting 1 value for each

Re: Multiple Values not getting Indexed

2011-06-09 Thread Gora Mohanty
On Fri, Jun 10, 2011 at 10:36 AM, Pawan Darira pawan.dar...@gmail.com wrote: it did not work :( [...] Please provide more details of what you tried, what was the error, and any error messages that you got. Just saying that it did not work makes it pretty much impossible for anyone to help you.

Re: Tokenising based on known words?

2011-06-08 Thread Gora Mohanty
On Thu, Jun 9, 2011 at 4:37 AM, Mark Mandel mark.man...@gmail.com wrote: Not sure if this possible, but figured I would ask the question. Basically, we have some users who do some pretty rediculous things ;o) Rather than writing red jacket, they write redjacket, which obviously returns no

Re: Applying synonyms increase the data size from MB to GBs

2011-06-05 Thread Gora Mohanty
On Mon, Jun 6, 2011 at 10:34 AM, rajini maski rajinima...@gmail.com wrote: Applying synonyms increased the data size from 28 mb to 10.3 gb   Before enabling synonyms to the a field , the data size was 28mb.  Now , after applying synonyms I see that data folder size has increased to 10.3 gb.

Re: php library for extractrequest handler

2011-06-03 Thread Gora Mohanty
On Fri, Jun 3, 2011 at 3:55 PM, Naveen Gupta nkgiit...@gmail.com wrote: Hi We want to post to solr server with some of the files (rtf,doc,etc) using php .. one way is to post using curl Do not normally use PHP, and have not tried it myself. However, there is a PHP extension for Solr:

Re: synonyms problem

2011-06-02 Thread Gora Mohanty
On Thu, Jun 2, 2011 at 11:58 AM, deniz denizdurmu...@gmail.com wrote: Hi all, here is a piece from my solfconfig: [...] but somehow synonyms are not read... I mean there is no match when i use a word in the synonym file... any ideas? [...] Please provide further details, e.g., is your field

Re: Searching Database

2011-05-31 Thread Gora Mohanty
On Wed, Jun 1, 2011 at 1:14 AM, Roger Shah rs...@caci.com wrote: How can I use SOLR (version 3.1) to search in our Microsoft SQL Server database? I looked at the DIH example but that looks like it is for importing.  I also looked at the following link:  

Re: Documents update

2011-05-27 Thread Gora Mohanty
2011/5/27 Denis Kuzmenok forward...@ukr.net: Hi. I  have  and  indexed  database  which  is indexed few times a day and contain  tinyint  flag  (like is_enabled, is_active, etc), and content isn't changed too often, but flags are. So  if i index via post.jar only flags then entire document

Re: Issue while extracting content from MS Excel 2007 file using TikaEntityProcessor

2011-05-27 Thread Gora Mohanty
On Thu, May 26, 2011 at 6:52 PM, Rahul Warawdekar rahul.warawde...@gmail.com wrote: Hi All, I am using Solr 3.1 for one of our search based applications. We are using DIH to index our data and TikaEntityProcessor to index attachments. Currently we are running into an issue while extracting

Re: Issue in Solr Indexing

2011-05-26 Thread Gora Mohanty
On Thu, May 26, 2011 at 7:06 PM, deepak agrawal dk.a...@gmail.com wrote: Hi All, When i am Indexing the Record into the Solr it is successfully indexing and after that i am committing that commit is also showing successfully. but when i am going to search that particular record into the solr

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread Gora Mohanty
On Tue, May 24, 2011 at 1:03 PM, stockii stock.jo...@googlemail.com wrote: okay, thx =) [...] So, which version of Solr are you using? Just tried this with Solr 1.4, and things seem to work as expected for me. Here is what I did: * Inserted a zero value into a mysql date field called testdate

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread Gora Mohanty
On Tue, May 24, 2011 at 5:36 PM, stockii stock.jo...@googlemail.com wrote: i am so an IDIOT !!! SORRRYY XD hehe i wrote zeroDateTimeBehavOIr and not zeroDateTimeBehavior [...] Heh! So, everything OK, now? Regards, Gora P.S. I did ask about this earlier in the thread :-)

Re: Help, Data Import not indexing in solr.

2011-05-24 Thread Gora Mohanty
On Tue, May 24, 2011 at 10:55 PM, fredylee fredy_ru...@co.washington.or.us wrote: anybody? help? [...] There were various possible errors in your data-import configuration file, which is why I had suggested starting with the tutorial, and ensuring that you are first able to reproduce the

Re: Did anyone rewrite the solr indexing section?

2011-05-23 Thread Gora Mohanty
On Mon, May 23, 2011 at 2:39 PM, LeoYuan88 yuanlihao1...@gmail.com wrote: Hi all,     As we all have known, solr put all index files in a single directory, namely ${datadir}/index, but the perfomance's getting slower when the size of index dir's getting bigger and bigger, so I wanna split

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-23 Thread Gora Mohanty
On Mon, May 23, 2011 at 6:51 PM, stockii stock.jo...@googlemail.com wrote: okay. i didn find the problem =( it sstill the same shit. i cannot conver with DateTimeFormater dates form -00-00 = -MM-dd'T'hh:mm:ss'Z' [...] Please post the exact Solr exception. Have you tried the last

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-23 Thread Gora Mohanty
On Mon, May 23, 2011 at 7:03 PM, stockii stock.jo...@googlemail.com wrote: yes. i put the zeroDateTimeBehavior=convertToNull to my url like: url=jdbc:mysql://localhost/databaseName?zeroDateTimeBehavoir=convertToNull I presume that this is just a typo here, i.e., Behavoir

Re: SOLR Install

2011-05-23 Thread Gora Mohanty
On Mon, May 23, 2011 at 7:40 PM, Roger Shah rs...@caci.com wrote: Hi, I am a new user and I have installed SOLR 3.1.0 and running Tomcat 7.0. I was able to run the example which shows the SOLR Admin screen.  Also posted an XML file by this command from dos prompt:  java -jar post.jar

Re: Help, Data Import not indexing in solr.

2011-05-20 Thread Gora Mohanty
On Fri, May 20, 2011 at 9:35 PM, fredylee fredy_ru...@co.washington.or.us wrote: [...] The documentations for SOLR however mentions nothing about declaring fields in the schema.xml in order for data import to work.  I must have missed it. So All I need to do is declaring field name?  like the

Re: Too slow indexing while using 2 different data sources

2011-05-18 Thread Gora Mohanty
On Thu, May 19, 2011 at 6:59 AM, deniz denizdurmu...@gmail.com wrote: Is it normal to observe slow speed while using an URL datasource and also a DB? it was something around 30 seconds with only DB source, but when I add URL datasource too, then it takes 24 - 25 mins to index exactly the same

Re: indexing directed graph

2011-05-18 Thread Gora Mohanty
On Thu, May 19, 2011 at 9:12 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Maybe Gora was referring to Siren: http://search-lucene.com/?q=siren+-sami [...] That does look interesting, but is not what I was referring to. I seem to remember a discussion on this list some 3-4 months about

Re: Opening a file at a page where I encounter a hit

2011-05-16 Thread Gora Mohanty
On Mon, May 16, 2011 at 12:00 PM, Vignesh Raj vignesh...@greatminds.co.in wrote: Hi, I am using ASP.Net MVC and solrnet for my search tool. The files I index include pdf files, word docs, excel etc... I am able to search and retrieve all the docs with a hit. Now the problem lies in opening

Re: [POLL] How do you (like to) do logging with Solr

2011-05-16 Thread Gora Mohanty
On Mon, May 16, 2011 at 2:13 PM, Jan Høydahl jan@cominvent.com wrote: [...] Please tick one of the options below with an [X]: [ X]  I always use the JDK logging as bundled in solr.war, that's perfect [ ]  I sometimes use log4j or another framework and am happy with re-packaging solr.war

Re: Set Full-Import Clean=False

2011-05-16 Thread Gora Mohanty
On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal jasneet.sabhar...@ngicorporation.com wrote: Hi Where do I set the default value of clean = false when a full-import is done. Append it to the URL, e.g., dataimport?command=full-importclean=false Regards, Gora

Re: Problem with custom Similarity class

2011-05-16 Thread Gora Mohanty
On Mon, May 16, 2011 at 10:04 PM, Alex Grilo a...@umamao.com wrote: Hi, I'm new to Solr and I'm trying to use my custom Similarity class but I've not succeeded on that. I added some debug information and my class is loaded, but it is not used when queries are made. Does someone could help

Re: DIH help request: nested xml entities and xpath

2011-05-13 Thread Gora Mohanty
On Fri, May 13, 2011 at 10:18 AM, Ashique ashique@gmail.com wrote: Hi All, I am a Java/J2ee programmer and very new to SOLR. I would  like to index a table in a postgresSql database to SOLR. Then searching the records from a GUI (Jsp Page) and showing the results in tabular form. Could

Re: field type=string vs field type=text

2011-05-12 Thread Gora Mohanty
On Thu, May 12, 2011 at 8:23 PM, chetan guptakache...@gmail.com wrote: What is the difference between setting a fields type to string vs setting it to text. e.g. field name=PATH type=string indexed=false stored=true/ or field name=PATH type=text indexed=false stored=true/ [...] Please take

Re: Indexing Content of a Direcory

2011-05-11 Thread Gora Mohanty
On Wed, May 11, 2011 at 2:24 PM, Robert Naczinski robert.naczin...@googlemail.com wrote: Hi, we try to index logfiles. That are xmlfiles ( this can be not valid ) and text files. Unfortunately have all files not the same content Sorry: While Ahmet has done his best to help you out, you are

Re: Indexing Mails

2011-05-10 Thread Gora Mohanty
On Tue, May 10, 2011 at 1:36 PM, Jörg Agatz joerg.ag...@googlemail.com wrote: Hallo.. I search a Way to indexing e-Mails fast and easy to safe in Solr A lot of users do this too, but i cant find a howTo or something like that. http://wiki.apache.org/solr/DataImportHandler#Indexing_Emails

Re: DIH entity threads (multithreading)

2011-05-10 Thread Gora Mohanty
On Tue, May 10, 2011 at 5:58 PM, Jamroz Marcin marcin.jam...@it2media.de wrote: Hallo, I have a problem using threads option in entity in DIH it just does not work, it either hangs it self or fails to import anything. Does this feature even work ? Without threads the import works fine,

Re: Searching accross Solr-Multicore

2011-05-09 Thread Gora Mohanty
On Mon, May 9, 2011 at 2:10 PM, Benyahya, Fahd fahd.benya...@netmoms.de wrote: Hallo everyone, i'm using solr-multicore with 3 cores to index my Web-Site. For testing i'm using the solr-admin GUI to get responses. The Problem is, that i get results only from one core, but not from the others

Re: A DB dataSource and a URL Data source for Solr

2011-05-09 Thread Gora Mohanty
On Tue, May 10, 2011 at 7:24 AM, deniz denizdurmu...@gmail.com wrote: well second time i have fixed the issue on my own after posting here but i dont understand why indexing time increased to 16 mins, while it was only 2 mins with only db source... confused [...] Try timing just the

Re: Solr is not working for few document

2011-05-09 Thread Gora Mohanty
On Tue, May 10, 2011 at 12:38 AM, Misra, Anil extern.anil.mi...@vw.com wrote: [...] I am using solr with liferay till Friday everything was good but today I added few documents but I am unable to search some of them L. [...] We are not mind-readers, so it is hard to tell what went wrong without

Re: Field names with a period (.)

2011-05-06 Thread Gora Mohanty
On Sat, May 7, 2011 at 1:29 AM, Chris Hostetter hossman_luc...@fucit.org wrote: : I remember the same, except I think I've seen the recommendation that you : make all the letters lower-case. As I remember, there are some interesting : edge cases that you might run into later with upper case.

Re: Field names with a period (.)

2011-05-05 Thread Gora Mohanty
On Thu, May 5, 2011 at 5:08 AM, Leonardo Souza leonardo...@gmail.com wrote: Hi guys, Can i have a field name with a period(.) ? Like in *file.size* Cannot find now where this is documented, but from what I remember it is recommended to use only characters A-Z, a-z, 0-9, and underscore (_) in

Re: Is it possible to load all indexed data in search request

2011-05-05 Thread Gora Mohanty
On Thu, May 5, 2011 at 3:48 PM, Kannan ramkannan2...@gmail.com wrote: Hi  I can load all indexed data using /select request and query param as *:*. I tried  same with /Search request but it didn't work. Even it didn't work for * as query value. I am using disMax handler. Is it possible to

Re: Cant retrieve data

2011-03-28 Thread Gora Mohanty
On Mon, Mar 28, 2011 at 4:58 PM, Merlin Morgenstern merli...@fastmail.fm wrote: [...] You should probably hide passwords when posting to public lists.        document name=content        entity name=node query=select phrase, country from        search_site            field column=ID name=id

Re: Question about the message Indexing failed. Rolled back all changes

2011-03-28 Thread Gora Mohanty
On Mon, Mar 28, 2011 at 3:59 PM, Firdous Ali firdous.al...@yahoo.com wrote: Hi, I m unable to index data, looks like the datasource is not even read by solr, even created an empty dataimport.properties file at /conf but the problem persists. [...] Look at the Solr log files, which will

Re: copyField at search time / multi-language support

2011-03-28 Thread Gora Mohanty
On Mon, Mar 28, 2011 at 2:15 PM, Tom Mortimer t...@flax.co.uk wrote: Hi, Here's my problem: I'm indexing a corpus with text in a variety of languages. I'm planning to detect these at index time and send the text to one of a suitably-configured field (e.g. mytext_de for German, mytext_cjk for

Re: solr result problem

2011-03-28 Thread Gora Mohanty
On Tue, Mar 29, 2011 at 9:46 AM, anurag.walia walia.anu...@hotmail.com wrote: [...] I have a problem with number of character in Term Text  . I entered Polymer but after snowballporterfilterfactory it become Polym while it was not exist in protwords.txt file . I want if any word does not exist

Re: solr result problem

2011-03-28 Thread Gora Mohanty
On Tue, Mar 29, 2011 at 10:12 AM, anurag.walia walia.anu...@hotmail.com wrote: Hi  Gora, Thanks for relied. i applied this snowballporterfilterfactory for remove difference of result in case of plural or singular. if i entered polymer then it working fine but again polymers giving me

Re: solr result problem

2011-03-28 Thread Gora Mohanty
On Tue, Mar 29, 2011 at 10:41 AM, anurag.walia walia.anu...@hotmail.com wrote: it will be polymers but result will come different in case of polymer and polymers (singular/plural). or there can be more words like polymer. [...] Your only alternative then is to implement a filter that works the

Re: DIH Issue(newbie to solr)

2011-03-22 Thread Gora Mohanty
On Mon, Mar 21, 2011 at 10:59 PM, neha pneha...@yahoo.com wrote: Thanks Gora it works..!!! Thanks again. One last question, the documents get indexed well and all but when I issue full-import command it still says Total Requests made to DataSource 0 [...] Not sure why that is, but would guess

Re: email - DIH

2011-03-22 Thread Gora Mohanty
On Tue, Mar 22, 2011 at 9:38 PM, Matias Alonso matiasgalo...@gmail.com wrote: [...] The problem is that I´m indexing emails throw Data import Handler using Gmail with imaps; I do this for search on email list in the future. The emails are indexed partiality and I can´t found the problem of why

Re: Transform a SolrDocument into a SolrInputDocument

2011-03-21 Thread Gora Mohanty
On Mon, Mar 21, 2011 at 8:33 PM, Marc SCHNEIDER marc.schneide...@gmail.com wrote: Hi Erick, Thanks for your answer. I'm a quite newbie to Solr so I'm a little bit confused. Do you mean that (using Solrj in my case) I should add all fields (stored and not stored) before adding the document to

Re: more beware on 1.4.1 lucene QP NOT

2011-03-21 Thread Gora Mohanty
On Mon, Mar 21, 2011 at 9:29 PM, Jonathan Rochkind rochk...@jhu.edu wrote: So Solr 1.4.1, lucene query parser, generally has no problem with a query that's simply one clause NOT defType=lucene q=NOT foo No problem! Also no problem: q=foo AND NOT bar But, problem when the operand to an

Re: DIH Issue(newbie to solr)

2011-03-21 Thread Gora Mohanty
On Mon, Mar 21, 2011 at 9:45 PM, neha pneha...@yahoo.com wrote: Hi Gora, The absolute path solved the issue, but in a weird situation though. Great. That should be most of your issue solved. The

Re: DIH Issue(newbie to solr)

2011-03-20 Thread Gora Mohanty
(Sorry for the delay in replying: Was a little busy this weekend.) On Sun, Mar 20, 2011 at 5:20 AM, neha pneha...@yahoo.com wrote: The path is correct and also the base dir points to the list of .xml files not just a single file. OK. This is the link to the xml file: Another thing that I see

Re: DIH Issue(newbie to solr)

2011-03-19 Thread Gora Mohanty
On Fri, Mar 18, 2011 at 11:52 PM, neha pneha...@yahoo.com wrote: Here are the links to the file [...] Data-config.xml http://pastebin.com/ncXr1LzV [...] One thing that immediately jumps out is the baseDir attribute in your top-level entry. You have

Re: from multiValued field to non-multiValued field with copyField?

2011-03-17 Thread Gora Mohanty
On Thu, Mar 17, 2011 at 8:04 PM, Bernd Fehling bernd.fehl...@uni-bielefeld.de wrote: Is there a way to have a kind of casting for copyField? I have author names in multiValued string field and need a sorting on it, but sort on field is only for multiValued=false. I'm trying to get

Re: SOLR DIH importing MySQL text column as a BLOB

2011-03-16 Thread Gora Mohanty
On Wed, Mar 16, 2011 at 2:29 PM, Stefan Matheis matheis.ste...@googlemail.com wrote: Kaushik, i just remembered an ML-Post few weeks ago .. same problem while importing geo-data (http://lucene.472066.n3.nabble.com/Solr-4-0-Spatial-Search-How-to-tp2245592p2254395.html) - the solution was:

Re: SOLR DIH importing MySQL text column as a BLOB

2011-03-16 Thread Gora Mohanty
On Wed, Mar 16, 2011 at 9:50 PM, Kaushik Chakraborty kaych...@gmail.com wrote: The query's there in the data-config.xml. And the query's fetching as expected from the database. [...] Doh! Sorry, had missed that somehow. So, the relevant part is: SELECT ... p.message as solr_post_message, What

Re: Sorting 0 values last

2011-03-15 Thread Gora Mohanty
On Tue, Mar 15, 2011 at 9:04 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Tue, Mar 15, 2011 at 10:35 AM, MOuli zar...@hotmail.de wrote: I want so sort ASC on a price field, but some of the ouldocs got a 0 (not NULL) value. Now I want that this docs are at the end when i sort the

Re: Getting Category ID (primary key)

2011-03-11 Thread Gora Mohanty
On Fri, Mar 11, 2011 at 2:32 PM, Prav Buz buz.p...@gmail.com wrote: [...] I need to show a facets on Category and then I need the category id in the href link. For this what I 'm trying to do is create a field which will store ID|Category in the schema and split it in the UI. Also I have

Re: DIH : modify document in sibling entity of root entity

2011-03-10 Thread Gora Mohanty
On Thu, Mar 10, 2011 at 8:42 PM, Chantal Ackermann chantal.ackerm...@btelligent.de wrote: [...] Is this supposed to work at all? I haven't found anything so far on the net but I could have used the wrong keywords for searching, of course. As answer to the maybe obvious question why I'm not

Re: If statements in DataImportHandler?

2011-03-10 Thread Gora Mohanty
On Fri, Mar 11, 2011 at 4:48 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: Is it possible to conditionally load sub-entities in DataImportHandler, based on the gathered value of parent entities? Probably the easies way to do that is with a transformer. Please see the DIH Wiki page for

Re: If statements in DataImportHandler?

2011-03-10 Thread Gora Mohanty
On Fri, Mar 11, 2011 at 10:23 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: Right that's not within the XML however, and it's unclear how to access the upper level entities that have already been instantiated, eg, beyond the given 'transform' row. The second example for a

Re: Help -DIH (mail)

2011-03-04 Thread Gora Mohanty
On Fri, Mar 4, 2011 at 9:20 PM, Matias Alonso matiasgalo...@gmail.com wrote: Hi everyone!  I’m trying to index mails into solr through DHI (based on the “example-DIH”). For this I´m using my personal email from gmail, but I can´t index. Have not used the MailEntityProcessor with Gmail, but

Re: adding a document using curl

2011-03-03 Thread Gora Mohanty
On Thu, Mar 3, 2011 at 5:15 PM, Ken Foskey kfos...@tpg.com.au wrote: On Thu, 2011-03-03 at 12:36 +0100, Markus Jelsma wrote: Here's a complete example http://wiki.apache.org/solr/UpdateXmlMessages#Passing_commit_parameters_as_part_of_the_URL I should have been clearer.   A rich text document,

Re: adding a document using curl

2011-03-03 Thread Gora Mohanty
On Thu, Mar 3, 2011 at 5:31 PM, pankaj bhatt panbh...@gmail.com wrote: Hi All,       is there any Custom open source SOLR ADMIN application like what lucid imagination provides in its distribution.       I am trying to create thing, however thinking it would be a reinventing of wheel.      

Re: Out of memory while creating indexes

2011-03-03 Thread Gora Mohanty
On Fri, Mar 4, 2011 at 3:32 AM, Solr User solr...@gmail.com wrote: Hi All, I am trying to create indexes out of a 400MB XML file using the following command and I am running into out of memory exception. Is this a single record in the XML file? If it is more than one, breaking it up into

Re: Model foreign key type of search?

2011-03-03 Thread Gora Mohanty
On Fri, Mar 4, 2011 at 10:24 AM, Alex Dong a...@trunk.ly wrote: Hi there,  I need some advice on how to implement this using solr: We have two tables: urls and bookmarks. - Each url has four fields:  {guid, title, text, url} - One url will have one or more bookmarks associated with it. Each

Re: loading XML docbook files into solr

2011-02-26 Thread Gora Mohanty
On Sat, Feb 26, 2011 at 9:10 PM, Derek Werthmuller dwert...@ctg.albany.edu wrote: I've been working on this for a while an seem to hit a wall.  The error messages aren't complete enought to give guidance why importing a sample docbook document into solr is not working. I'm using the curl tool

Re: Tomcat EXE Source Code

2011-02-25 Thread Gora Mohanty
On Fri, Feb 25, 2011 at 3:42 PM, rajini maski rajinima...@gmail.com wrote: I am trying to configure tomcat multi instances with that many number of services configured too. Right now that particular tomcat exe let create only one. If the same exe run again and tried to configure at other

Re: Solr the right thing for me?

2011-02-15 Thread Gora Mohanty
On Wed, Feb 16, 2011 at 12:18 PM, Chris spamo...@freenet.de wrote: [...] - Receive an email when a site changed/was added to a web. - Only index sites, that contain a reg exp in the content. I think that you might be confused about what Solr does. It is a search engine, and does not crawl

Re: how to control which hosts can access Solr?

2011-02-15 Thread Gora Mohanty
On Wed, Feb 16, 2011 at 10:52 AM, Grijesh pintu.grij...@gmail.com wrote: You  can not do this kind of configuration by solrsonfig ,you have to configure it with the help of your network administrator. [...] The normal way to do this on Linux is with rules for iptables that only allow access to

Re: Monitor the QTime.

2011-02-14 Thread Gora Mohanty
On Sun, Feb 13, 2011 at 7:54 AM, Lance Norskog goks...@gmail.com wrote: If you're a unix shell scripting wiz, here are a few strategies. Tail the logfile and filter for the string 'QTime'. The number is the very last string in the line. So, strip the text between the timestamp and the number-

Re: Monitor the QTime.

2011-02-13 Thread Gora Mohanty
On Mon, Feb 14, 2011 at 8:46 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: I've recently used a jmx console tool recently, which let's you access and browse jmx from a simple shell that you start from command line.  Took me 5 minutes to get it and get info from jmx. [...] Could you

Re: Monitor the QTime.

2011-02-12 Thread Gora Mohanty
On Sat, Feb 12, 2011 at 3:56 AM, Stijn Vanhoorelbeke stijn.vanhoorelb...@gmail.com wrote: QTime is, of course, specific to the query, but it is returned in the response XML, so one could run occasional queries to figure it out. Please see http://wiki.apache.org/solr/SearchHandler Regards,

Re: Monitor the QTime.

2011-02-12 Thread Gora Mohanty
On Sat, Feb 12, 2011 at 4:54 AM, Stijn Vanhoorelbeke stijn.vanhoorelb...@gmail.com wrote: [...] Can you access this URL from a web browser (tried but doesn't work ) ? Or must this used in jConsole / custom made java program. Please try http://localhost:8983/solr/admin/stats.jsp (change

Re: Faceting Query

2011-02-11 Thread Gora Mohanty
On Thu, Feb 10, 2011 at 12:00 PM, Isha Garg isha.g...@orkash.com wrote: Hi,      What is the significance of copy field  when used in faceting . plz explain with example. Not sure what you mean here. Could you provide details? Regards, Gora

Re: Faceting Query

2011-02-11 Thread Gora Mohanty
On Thu, Feb 10, 2011 at 12:21 PM, Isha Garg isha.g...@orkash.com wrote: What is facet.pivot field? PLz explain with example Does http://wiki.apache.org/solr/SimpleFacetParameters#facet.pivot not help? Regards, Gora

Re: Monitor the QTime.

2011-02-11 Thread Gora Mohanty
On Fri, Feb 11, 2011 at 3:40 AM, Stijn Vanhoorelbeke stijn.vanhoorelb...@gmail.com wrote: Hi, Is it possible to monitor the QTime of the queries. I know I could enable logging - but then all of my requests are logged, making bignasty logs. I just want to log the QTime periodically, lets say

Re: Solr Indexing Performance

2011-02-07 Thread Gora Mohanty
On Sat, Feb 5, 2011 at 2:06 PM, Darx Oman darxo...@gmail.com wrote: I indexed 1000 pdf file with the same configuration, it completed in about 32 min. So, it seems like your indexing scales at least as well as the number of the PDF documents that you have. While this might be good news in your

Re: DIH keeps felling during full-import

2011-02-07 Thread Gora Mohanty
On Mon, Feb 7, 2011 at 9:29 PM, Mark static.void@gmail.com wrote: I'm receiving the following exception when trying to perform a full-import (~30 hours). Any idea on ways I could fix this? Is there an easy way to use DIH to break apart a full-import into multiple pieces? IE 3 mini-imports

Re: DataImportHandler: no queries when using entity=something

2011-02-03 Thread Gora Mohanty
On Thu, Feb 3, 2011 at 3:23 PM, Darx Oman darxo...@gmail.com wrote: add to url clean=false http://solr:8983/solr/dataimport?command=full-importentity=games; clean=false *clean* : (default 'true'). Tells whether to clean up the index before the indexing is started [...] Sorry, what does that

Re: Solr for finding similar word between two documents

2011-02-03 Thread Gora Mohanty
On Thu, Feb 3, 2011 at 11:32 PM, rohan rai hiroha...@gmail.com wrote: Is there a way to use solr and get similar words between two document (files). [...] This is *way* too vague t make any sense out of. Could you elaborate, as I could have sworn that what you seem to want is the essential

Re: DataImportHandler: no queries when using entity=something

2011-02-02 Thread Gora Mohanty
On Thu, Feb 3, 2011 at 6:08 AM, Jon Drukman j...@cluttered.com wrote: So I'm trying to update a single entity in my index using DataImportHandler. http://solr:8983/solr/dataimport?command=full-importentity=games It ends near-instantaneously without hitting the database at all, apparently.

Re: velocity tools in solr-contrib-velocity?

2011-01-29 Thread Gora Mohanty
On 1/29/11, Paul Libbrecht p...@hoplahup.net wrote: Hello list, can anyone tell me how I can plug the velocity tools into my solr? [...] Not sure what you mean by plugging in the tools. There is http://wiki.apache.org/solr/VelocityResponseWriter , but I imagine that you have already seen

Re: Post PDF to solr with asp.net

2011-01-27 Thread Gora Mohanty
On Thu, Jan 27, 2011 at 3:44 PM, Andrew McCombe eupe...@gmail.com wrote: Hi We are trying to post some PDF documents to solr for indexing using ASP.net but cannot find any documentation or a library that will allow posting of binary data. [...] Do not have much idea of ASP.net, but SolrNet (

Re: Solr for noSQL

2011-01-27 Thread Gora Mohanty
On Fri, Jan 28, 2011 at 6:00 AM, Jianbin Dai j...@huawei.com wrote: [...] Do we have data import handler to fast read in data from noSQL database, specifically, MongoDB I am thinking to use? [...] Have you tried the links that a Google search turns up? Some of them look like pretty good

Re: Getting started with writing parser

2011-01-25 Thread Gora Mohanty
On Tue, Jan 25, 2011 at 10:05 AM, Dinesh mdineshkuma...@karunya.edu.in wrote: http://pastebin.com/CkxrEh6h this is my sample log [...] And, which portions of the log text do you want to preserve? Does it go into Solr as a single error message, or do you want to separate out parts of it.

Re: Getting started with writing parser

2011-01-25 Thread Gora Mohanty
On Tue, Jan 25, 2011 at 11:44 AM, Dinesh mdineshkuma...@karunya.edu.in wrote: i don't even know whether the regex expression that i'm using for my log is correct or no.. If it is the same try.xml that you posted earlier, it is very likely not going to work. You seem to have just cut and pasted

<    1   2   3   4   5   6   7   8   >