Re: How to create Dynamic core?

2008-11-10 Thread Shalin Shekhar Mangar
Before rushing to create a large number of cores, think about de-normalizing your schema. Every core has an overhead. You probably do not need multiple cores at all. It would help if you tell us about the use-case so that we can recommend alternate solutions. On Tue, Nov 11, 2008 at 12:00 PM, Rag

Re: How to create Dynamic core?

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you using SolrJ?. then look at org.apache.solr.client.solrj.request.CoreAdminRequest Even if you are not using SolrJ the same commands can be issued over http On Tue, Nov 11, 2008 at 12:00 PM, RaghavPrabhu <[EMAIL PROTECTED]> wrote: > > Hi all, > > I want to create dynamic cores in my app.

How to create Dynamic core?

2008-11-10 Thread RaghavPrabhu
Hi all, I want to create dynamic cores in my app. Case Study --- 1. I want to create the number of cores, that should be based on number of employees. 2. How can i create the dynamic core for each employee? kindly let me know, if u know the solution.. Thanks in advance Pra

RE: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Kevin Penny
Excellent! Thanks a bunch - that did the trick - all defined and my terms are being returned nicely - schema.xml was the ticket - not sure how I missed that in the docs. Kevin -Original Message- From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 11:35

Re: posting error in solr

2008-11-10 Thread Sushan Rungta
I am using Solr Lucene - 2.0 regards, Sushan Rungta Mob: +91-9312098968 At 11:07 AM 11/11/2008, Shalin Shekhar Mangar wrote: Which version of Solr are you using? On Tue, Nov 11, 2008 at 11:00 AM, Sushan Rungta <[EMAIL PROTECTED]> wrote: > I tried to post an xml file and returned me the below

Re: posting error in solr

2008-11-10 Thread Shalin Shekhar Mangar
Which version of Solr are you using? On Tue, Nov 11, 2008 at 11:00 AM, Sushan Rungta <[EMAIL PROTECTED]> wrote: > I tried to post an xml file and returned me the below mentioned error: > > entity reference names can not start >> with character '\ufffd' (position: START_TAG seen ...ients with our

Re: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Shalin Shekhar Mangar
Hi Kevin, You need to modify the schema which came with Solr to suit your data. There should be a schema.xml inside example/solr/conf directory. Once you do that, re-import your data. Take a look at http://wiki.apache.org/solr/SchemaXml On Tue, Nov 11, 2008 at 10:59 AM, Kevin Penny <[EMAIL PROTE

posting error in solr

2008-11-10 Thread Sushan Rungta
I tried to post an xml file and returned me the below mentioned error: entity reference names can not start with character '\ufffd' (position: START_TAG seen ...ients with our topping service.
\r\n\ufffd\u2f2\ufffd\u1b7\ufffd \ufffd\ufffd\u6b5\ufffd\ufffd\ufffd\ufffd\ubd6f\ufffd\ufffd\u5ae\

RE: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Kevin Penny
I can execute: /solr/select?q=id:87133 So there is data there, however I have not defined any 'Fields' in my data-config and am hoping my column names are the 'fields', yet I'm not seeing any of them being returned in the 'doc' node below : - 0 0 - id:87133 - - 87133 0 87133 2008-11-11T

Re: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
search for *:* and see if the index indeed has the documents . Once you ensure the docs are there go through the lucene query syntax and check your query On Tue, Nov 11, 2008 at 10:07 AM, Kevin Penny <[EMAIL PROTECTED]> wrote: > Ok so I executed a: > solr/dataimport?command=full-import > then I ch

RE: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Kevin Penny
Ok so I executed a: solr/dataimport?command=full-import then I checked here: solr/dataimport I get a good xml message (figure 1.1) showing me that 125 records have been indexed (good) and I know one of them contains the word 'job'. I sould get results from this query string then right (figure 1.

Re: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
XML is just an intermediete data format Solr internally has no XML data. When the data comes out XML is just another representation of the same data. Whether you put in data using XML or DB (SQL) it all goes into the same index . Query must be done on that index using the syntax http://localhost:8

Re: DataImportHandler - composite multivalued fields for merging db rows?

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
create a separate field commissionfixed_type and use a TemplateTransformer to merge two values in the entity 'tracker' On Tue, Nov 11, 2008 at 1:23 AM, Mauricio Aristizabal <[EMAIL PROTECTED]> wrote: > Hi, I'm setting up a Solr 1.3 server for our existing app, and have an issue > importing. > > We

RE: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Kevin Penny
Ok - and what would that be? (query interface) I need the URL format that would work in this situation to return data from my setup. I've gone through the tutorial and used execution strings like: http://localhost:8983/solr/select/?indent=on&q=video&sort=price+desc etc however I'm working with s

Re: Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
you cannot query the DIH. It can only do indexing after indexing you must do the indexing on the regular query interface On Tue, Nov 11, 2008 at 9:45 AM, Kevin Penny <[EMAIL PROTECTED]> wrote: > My Question is: what is the format of a search that will return data? > i.e. /solr/select?q=developer&q

Newbie Question - getting search results from dataimport request handler

2008-11-10 Thread Kevin Penny
My Question is: what is the format of a search that will return data? i.e. /solr/select?q=developer&qt=dataimport (won’t work) nor will /solr/dataimport?q=developer (won’t work) “HTTP ERROR: 404 NOT_FOUND RequestURI=/solr/dataimport“ I have created a ‘dataimport’ set that contains data from a sql

Re: Boosting newer inserted items in search?

2008-11-10 Thread Erik Holstad
Thanks Yonik for the answer1 Will try to implement that, but I can't seem to find how to do that using Solrj, do I just add it to the Query field or how is it done? Regards Erik On Mon, Nov 10, 2008 at 2:59 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > My gut tells me that multiplying a function

SpellChecker Component

2008-11-10 Thread Jeff Newburn
I am still relatively new to solr. I have gotten the spellcheckerrequesthandler working the way I would like. Now I am diving into the search component version of the spell checker. I was hoping someone could help explain 1. What specifically does the searchcomponent offer and how would I go abo

Re: Solr Core Size limit

2008-11-10 Thread Norberto Meijome
On Mon, 10 Nov 2008 10:24:47 -0800 (PST) Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > I don't think there is a limit other than your hardware and the internal Doc > ID which limits you to 2B docs on 32-bit machines. Hi Otis, just curious is this internal doc ID reused when an optimise happen

Re: Boosting newer inserted items in search?

2008-11-10 Thread Yonik Seeley
My gut tells me that multiplying a function of the date field with the full-text relevancy score will work better than adding a function of the date field. BoostedQuery can do this via BoostQParserPlugin http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html And for the f

Re: Solr 1.3 stack overflow when accessing solr/admin page

2008-11-10 Thread Chris Hostetter
Olga: noticing this thread now, are you still having this problem? did you find a problem with your configuration? : However I am getting stack overflow when I try to access solr/admin : page. ... : java.lang.StackOverflowError javax.servlet.ServletException: ... : org.apache.sol

Re: How to use multicore feature in JBOSS

2008-11-10 Thread Chris Hostetter
: One final question: : Even thogh things are working fine, The debug messages that i get from the : JBOSS console shows STDERR. : : A few lines from the JBOSS console while deploying solr.war: : : 11:44:20,578 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM : org.apache.solr.servlet.SolrDispatchFilter i

Boosting newer inserted items in search?

2008-11-10 Thread Erik Holstad
Hi! When doing a search we want to have a have parameters that we set of how to boost different scores. for example we want to have the ability to boost newer items in some case and in some not, like a sliding scale from only time to only relevancy. What is the best way of doing this, using Solrj?

Re: Using DataImportHandler with mysql database

2008-11-10 Thread Shalin Shekhar Mangar
It seems like your data-config does not have any tag. The following is the correct structure: On Tue, Nov 11, 2008 at 12:31 AM, Marc Sturlese <[EMAIL PROTECTED]>wrote: > > Hey there, > I am trying to use the DataImportHandler to index data from a mysql > database. I am having the s

DataImportHandler - composite multivalued fields for merging db rows?

2008-11-10 Thread Mauricio Aristizabal
Hi, I'm setting up a Solr 1.3 server for our existing app, and have an issue importing. We have a marketing system and want to make campaigns more searchable. Each campaign has a number of terms which specify either a fixed or percentage commission (2 separate fields). In addition each term poin

Using DataImportHandler with mysql database

2008-11-10 Thread Marc Sturlese
Hey there, I am trying to use the DataImportHandler to index data from a mysql database. I am having the same error all the time just when I start tomcat: Nov 10, 2008 7:39:49 PM org.apache.solr.handler.dataimport.DataImporter loadDataConfig INFO: Data Configuration loaded successfully Nov 10, 2

Re: Solr Core Size limit

2008-11-10 Thread Otis Gospodnetic
Hi, I don't think there is a limit other than your hardware and the internal Doc ID which limits you to 2B docs on 32-bit machines. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch From: RaghavPrabhu <[EMAIL PROTECTED]> To: solr-user@lucene

Re: Solr with Wordpress - Anyone doing this?

2008-11-10 Thread Ryan McKinley
A simple data-config.xml hitting a SQL db is all we need. Here is a wordpress DB layout: mysql> show tables; +---+ | Tables_in_india | +---+ | wp_comments | | wp_links | | wp_options| | wp_postmeta | | w

Re: Solr with Wordpress - Anyone doing this?

2008-11-10 Thread Stephen Weiss
Unfortunately I don't think it's that sophisticated... There was a request out in the Wordpress world for an extendable search interface (like Drupal) but I don't think it got much traction. The plugin we use now for searching simply implements hooks that modify the query (a lot) before i

Re: solr 1.3 - Problem Full Import

2008-11-10 Thread sunnyfr
Hi Shalin I don't get Ive executed : http://com:8180/solr/video/dataimport?command=full-import Then when I Checked : http://solr-test.adm.dailymotion.com:8180/solr/video/dataimport It looks like document are created : − data-config.xml busy A command is still running... − 0:0:46.331 373

Re: solr 1.3 - Problem Full Import

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
I cannot see what is the problem. If you can do a thread dump and paste it here I may be able to suggest something On Mon, Nov 10, 2008 at 9:44 PM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Hi Shalin > > I don't get Ive executed : > http://com:8180/solr/video/dataimport?command=full-import > Then

Re: Solr with Wordpress - Anyone doing this?

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
I'm not sure what kind of interfaces WordPress expose. Does it have a DB/REST end point? If so, it would be very easy to write a sample data-config.xml for wordpress. --Noble On Mon, Nov 10, 2008 at 8:13 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > I don't know of anyone that has done this,

Re: solr 1.3 - Problem Full Import

2008-11-10 Thread Shalin Shekhar Mangar
Hi, I'm confused by the log you have posted. There is no import command to be seen to /dataimport. Only one request is in the log to /dataimport at the very end. The logs say that Solr started up and some warming queries were executed and that's it. What do you mean by it looks stuck? Does the co

Re: solr 1.3 - Problem Full Import

2008-11-10 Thread sunnyfr
Hi Shalin I don't get Ive executed : http://com:8180/solr/video/dataimport?command=full-import Then when I Checked : http://solr-test.adm.video.com:8180/solr/video/dataimport It looks like document are created : − data-config.xml busy A command is still running... − 0:0:46.331 37347 7510

RE: Filters: acute accent characters replaced with their english counterpart

2008-11-10 Thread Steven A Rowe
Hi Jarek, On 11/10/2008 at 6:08 AM, Jarek Zgoda wrote: > Wiadomość napisana w dniu 2008-11-10, o godz. 11:14, przez joeMcElroy: > > I need a custom filter to be added to a field which will replace > > special foreign characters with their english counterpart. > > > > for example ø => o > > Grave

[Announce] Call For Papers opens for ApacheCon US 2009

2008-11-10 Thread Grant Ingersoll
If you have only 30 seconds to read this; Join us in celebrating the ASF's 10th Anniversary at ApacheCon! The Call for Papers is now open for ApacheCon US 2009, taking place 2-6 November in Oakland, California. Proposals are being accepted at http://us.apacheco

Re: solr 1.3 - Problem Full Import

2008-11-10 Thread sunnyfr
Hi, I can't get what's going on ?? If somebody could help me it would be very nice thanks sunnyfr wrote: > > Hi, > > I don't get what's happening > I tried to make a full import with a limit inside between to id ... > everything works fine then the time keep running but it looks stuck and > I

Re: Solr with Wordpress - Anyone doing this?

2008-11-10 Thread Michael Kimsal
Agree with Grant - this is likely because there's a PHP-based Lucene library (maybe more, but definitely one from Zend in Zend Framework) that can be used to read/write directly to Lucene files. Adding SOLR in the mix might bring more benefit , as from what I've been told the Zend Lucene stuff isn

Re: Solr with Wordpress - Anyone doing this?

2008-11-10 Thread Grant Ingersoll
I don't know of anyone that has done this, but I would welcome it as well. I suspect the main issue is that most WP users live in a shared hosting world, where Java doesn't play very nicely. That being said, it would be fairly easy to use the DataImportHandler's feed import for indexing (I

Re: What is a cor in solr

2008-11-10 Thread Mark Miller
A core is kind of like a single solr index and all of its config/settings. So multicore allows you to have multiple indexes, each with its own config/settings. Its an alternative to multiple solr installs. - Mark Sajith Vimukthi wrote: Hi all, Can someone of u tell me what a core is? Esp

Getting Status 400 - org.apache.lucene.queryParser.ParseException on submitting a search query having ^ symbol through Web Application

2008-11-10 Thread payalsharma
Hi, I am getting the following error while triggering a search query through the web application : HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse 'Sigma Survey for Police Officers&field=Index_Type_s:productIndex&field=productType_s:product&field=Index_Type_s:product

Re: Filters: acute accent characters replaced with their english counterpart

2008-11-10 Thread joeMcElroy
cheers for the quick response! joe -- View this message in context: http://www.nabble.com/Filters%3A-acute-accent-characters-replaced-with-their-english-counterpart-tp20416888p20418586.html Sent from the Solr - User mailing list archive at Nabble.com.

simple filter query solr processing

2008-11-10 Thread joeMcElroy
i have instances of felds which have commas seperating them. i need it to be treated as one filter (even tho its seperated by commas) for example facet : film,media,mass communication rendered result by solr Cannot parse ' +i_subjects:"Film': Lexical error at line 1, column 19. Encountered: a

Re: Filters: acute accent characters replaced with their english counterpart

2008-11-10 Thread Jarek Zgoda
Wiadomość napisana w dniu 2008-11-10, o godz. 11:14, przez joeMcElroy: I need a custom filter to be added to a field which will replace special foreign characters with their english counterpart. for example ø => o Grave À È Ì Ò Ù à è ì ò ù => A E I O U a e i o u Circumflex Â Ê Î Ô Û â ê î ô û

What is a cor in solr

2008-11-10 Thread Sajith Vimukthi
Hi all, Can someone of u tell me what a core is? Especially with regard to multycore. Regards, Sajith Vimukthi Weerakoon Associate Software Engineer | ZONE24X7 | Tel: +94 11 2882390 ext 101 | Fax: +94 11 2878261 | http://www.zone24x7.com

Re: Filters: acute accent characters replaced with their english counterpart

2008-11-10 Thread Koji Sekiguchi
joe, This hasn't been committed yet, but SOLR-822 may be your answer. https://issues.apache.org/jira/browse/SOLR-822 Koji joeMcElroy wrote: I need a custom filter to be added to a field which will replace special foreign characters with their english counterpart. for example ø => o Grave À

Solr Core Size limit

2008-11-10 Thread RaghavPrabhu
Hi, Im using Solr multicore functionality in my app. I want to know the size limit of holding the index files in each core.How can i identify the maximum size limit of the cores. Thanks in advance Prabhu.K -- View this message in context: http://www.nabble.com/Solr-Core-Size-limit-tp20416899

Filters: acute accent characters replaced with their english counterpart

2008-11-10 Thread joeMcElroy
I need a custom filter to be added to a field which will replace special foreign characters with their english counterpart. for example ø => o Grave À È Ì Ò Ù à è ì ò ù => A E I O U a e i o u Circumflex Â Ê Î Ô Û â ê î ô û => A E I O U a e i o u is this possible? joe -- View this message in