Re: SolrCloud new....

2011-02-18 Thread Stijn Vanhoorelbeke
Hi, I'm busy doing the exact same thing. I figured things out - all by myself - the wiki page is a nice 'fist view', but doesn't goes in dept... Lets go ahead: 1)Should i copy the libraries from cloud to trunk??? 2)should i keep the cloud module in every system??? A: Yes, you should. You

[solrCloud] Distributed IDF - scoring in the cloud

2011-02-18 Thread Thorsten Scherler
Hi all, doing the solrCloud examples and one thing I am not clear about is the scoring in a distributed search. I did a small test where I used the Example A: Simple two shard cluster from wiki:SolrCloud and additional added java -Durl=http://localhost:7574/solr/collection1/update -jar

Re: GET or POST for large queries?

2011-02-18 Thread mrw
Thanks for the tip. No, I did not know about that. Unfortunately, we use Oracle OLS which does not appear to be supported. Jan Høydahl / Cominvent wrote: Hi, There are better ways to combat row level security in search than sending huge lists of users over the wire. Have you checked

Re: GET or POST for large queries?

2011-02-18 Thread Jan Høydahl
OK. I would ask on the mailing list of ManifoldCF to see if they have some experience with OLS. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 18. feb. 2011, at 17.29, mrw wrote: Thanks for the tip. No, I did not know about that. Unfortunately, we use

Re: Validate Query Syntax of Solr Request Before Sending

2011-02-18 Thread csj
Hi, FYI, I found out. I'm using the SolrQueryParser (tadaa...) It needs the solrconfig.xml and the solr.xml files in other to validate the query. Then I'm able to validate any query before sending it to the Solrserver, thereby preventing unnecessary requests. /Christian -- View this message

Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
Hello Solr-friends, I want to implement a query-expander, one that enriches the input by the usage of extra parameters that, for example, a form may provide. Is the right way to subclass SearchHandler? Or rather to subclass QueryComponent? thanks in advance paul

Dih sproc call

2011-02-18 Thread Bill Bell
I an trying to call a stored procedure using query= in DIH. I tried exec name, call name, and name and none works. This is SQL server 2008. Bill Bell Sent from mobile On Feb 18, 2011, at 10:27 AM, Paul Libbrecht p...@hoplahup.net wrote: Hello Solr-friends, I want to implement a

Re: Best way for a query-expander?

2011-02-18 Thread Em
Hi Paul, what do you understand by saying extra parameters? Regards Paul Libbrecht-4 wrote: Hello Solr-friends, I want to implement a query-expander, one that enriches the input by the usage of extra parameters that, for example, a form may provide. Is the right way to subclass

Dih sproc does not work

2011-02-18 Thread Bill Bell
I an trying to call a stored procedure using query= in DIH. I tried exec name, call name, and name and none works. This is SQL server 2008. Bill Bell Sent from mobile

Re: Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
Erm... extra web-request-parameters simply. paul Le 18 févr. 2011 à 19:37, Em a écrit : Hi Paul, what do you understand by saying extra parameters? Regards Paul Libbrecht-4 wrote: Hello Solr-friends, I want to implement a query-expander, one that enriches the input by the

Re: Best way for a query-expander?

2011-02-18 Thread Tommaso Teofili
Hi Paul, me and a colleague worked on a QParserPlugin to expand alias field names to many existing field names ex: q=mockfield:val == q=actualfield1:val OR actualfield2:val but if you want to be able to use other params that come from the HTTP request you should use a custom RequestHandler I

Understanding multi-field queries with q and fq

2011-02-18 Thread mrw
After searching this list, Google, and looking through the Pugh book, I am a little confused about the right way to structure a query. The Packt book uses the example of the MusicBrainz DB full of song metadata. What if they also had the song lyrics in English and German as files on disk, and

Re: Dih sproc does not work

2011-02-18 Thread Bill Bell
When I use 'call sprocname' it does call the process, but I am not getting the select into Solr. It shows 0 docs added. I am only returning 1 rs. Bill Bell Sent from mobile On Feb 18, 2011, at 11:49 AM, Bill Bell billnb...@gmail.com wrote: I an trying to call a stored procedure using query=

Re: Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
using rb.req.getParams().get(blip) inside prepare(ResponseBuilder)'s subclass of QueryComponent I could easily get the extra http request param. However, how would I change the query? using rb.setQuery(xxx) within that same prepare method seems to have no effect. paul Le 18 févr. 2011 à

Re: solr.KeepWordsFilterFactory confusion

2011-02-18 Thread Robert Haschart
Thanks for your response. After making that change it seemed at first like it made no difference, after restarting the jetty server, and reindexing the test object, the display still shows: arr name=format_facet strVideo/str strStreaming Video/str strOnline/str strGooberhead/str

Re: Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
it does work! Le 18 févr. 2011 à 20:48, Paul Libbrecht a écrit : using rb.req.getParams().get(blip) inside prepare(ResponseBuilder)'s subclass of QueryComponent I could easily get the extra http request param. However, how would I change the query? using rb.setQuery(xxx) within that same

XML Stripping from DIH

2011-02-18 Thread Olson, Ron
Hi all- I have some XML in a database that I am trying to index and store; I am interested in the various pieces of text, but none of the tags. I've been trying to figure out a way to strip all the tags out, but haven't found anything within Solr to do so; the XML parser seems to want XPath to

Re: solr.KeepWordsFilterFactory confusion

2011-02-18 Thread Ahmet Arslan
--- On Fri, 2/18/11, Robert Haschart rh...@virginia.edu wrote: From: Robert Haschart rh...@virginia.edu Subject: Re: solr.KeepWordsFilterFactory confusion To: solr-user@lucene.apache.org Date: Friday, February 18, 2011, 10:19 PM Thanks for your response.  After making that change it

Re: Index Design Question

2011-02-18 Thread Andreas Kemkes
Thank you. These are good general suggestion. Regarding the optimization for indexing vs. querying: are there any specific recommendations for each of those cases available somewhere. A link, for example, would be fabulous. I'm also still curious about solutions that go further. For

DIH threads

2011-02-18 Thread Mark
Has anyone applied the DIH threads patch on 1.4.1 (https://issues.apache.org/jira/browse/SOLR-1352)? Does anyone know if this works and/or does it improve performance? Thanks

Removing duplicates

2011-02-18 Thread Mark
I know that I can use the SignatureUpdateProcessorFactory to remove duplicates but I would like the duplicates in the index but remove them conditionally at query time. Is there any easy way I could accomplish this?

Re: solr current workding directory or reading config files

2011-02-18 Thread Chris Hostetter
: I have a class (in a jar) that reads from properties (text) files.  I have these : files in the same jar file as the class. : : However, when my class reads those properties files, those files cannot be found : since solr reads from tomcat's bin directory. Can you elaborate a bit more on

Re: Help migrating from Lucene

2011-02-18 Thread Chris Hostetter
: to our indexing service are defined in a central interface. Here is an : example of a query executed from a programmatically constructed Lucene : query. ... : solrQuery.setQuery(query.toString()); first of all, be advised that Query.toString() is not garunteed to produce a string

Re: Dih sproc call

2011-02-18 Thread Chris Hostetter
: References: ce2ecd6b-7a3f-4669-972d-492ab89c8...@hoplahup.net : In-Reply-To: ce2ecd6b-7a3f-4669-972d-492ab89c8...@hoplahup.net : Subject: Dih sproc call http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please

Re: Best way for a query-expander?

2011-02-18 Thread Chris Hostetter
: I want to implement a query-expander, one that enriches the input by the : usage of extra parameters that, for example, a form may provide. : : Is the right way to subclass SearchHandler? : Or rather to subclass QueryComponent? This smells like the poster child for an X/Y problem (or maybe

Re: DIH threads

2011-02-18 Thread Bill Bell
I used it on 4,0 and it did not help us. We were bound on SQL io Bill Bell Sent from mobile On Feb 18, 2011, at 4:47 PM, Mark static.void@gmail.com wrote: Has anyone applied the DIH threads patch on 1.4.1 (https://issues.apache.org/jira/browse/SOLR-1352)? Does anyone know if this

adding a TimerTask

2011-02-18 Thread Tri Nguyen
Hi, How can I add a TimerTask to Solr? Tri

Remove part of keywords from existing index and merging new index

2011-02-18 Thread Ryan Chan
Hello, I am not sure if it is possible. 1. I have a document of 100MB, I want to remove keywords started with a specific pattern, e.g. abc*, so all keywords started with abc* in the index will be removed, and I don't need to reindex the document again. 2. I have another document of 100KB, I

Indexing AutoCAD files

2011-02-18 Thread Vignesh Raj
Hi team, Is there a way lucene can index AutoCAD files - *.dwg files? If so, please let me know. Can you please provide some insight on the same? Thanks in advance.. Regards Vignesh

Index Autocad

2011-02-18 Thread lucene lucene
Hi team, Is there a way lucene can index AutoCAD files – “*.dwg” files? If so, please let me know. Can you please provide some insight on the same? Thanks in advance.. Regards Vignesh