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

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

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 want

adding a TimerTask

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

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 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 works and/or does it impr

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 a

Re: Dih sproc call

2011-02-18 Thread Chris Hostetter
: References: : In-Reply-To: : 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 do not reply to an existing message, instead start a fresh email. Even if you change the subject

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 that

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 w

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?

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

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 example,

Re: solr.KeepWordsFilterFactory confusion

2011-02-18 Thread Ahmet Arslan
--- On Fri, 2/18/11, Robert Haschart wrote: > From: Robert Haschart > 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 seemed at first like it made no > di

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: 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

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: Video Streaming Video Online Gooberhead Book of the Month But it turns out that I had been

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 à 19:

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 wrote: > I an trying to call a stored procedure using query= in DIH. I tried ex

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 w

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 thi

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 enric

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 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 su

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 wrote: > > Hello Solr-friends, > > I want to implement a query-expander, one t

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

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 i

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 > Or

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 c

Re: GET or POST for large queries?

2011-02-18 Thread Jan Høydahl
Hi, There are better ways to combat row level security in search than sending huge lists of users over the wire. Have you checked out the ManifoldCF project with which you can integrate security to Solr? http://incubator.apache.org/connectors/ -- Jan Høydahl, search solution architect Cominven

Re: My Plan to Scale Solr

2011-02-18 Thread Walter Underwood
He misspelled it as "LSA". The original post says "'m not sure if it will work out in a real production environment, which has a tight SLA pending." Clearly a Service Level Agreement, not Latent Semantic Analysis. Since we're working on search engines, let's all try to figure stuff out for ours

Re: [solrCloud] Distributed IDF - scoring in the cloud

2011-02-18 Thread Yonik Seeley
On Fri, Feb 18, 2011 at 7:07 AM, Thorsten Scherler wrote: > Is there a general interest to bring 1632 to the trunk (especially for > solrCloud)? Definitely - distributed idf is needed (as an option). -Yonik http://lucidimagination.com

Re: Solr multi cores or not

2011-02-18 Thread Marc SCHNEIDER
Multi-core was first added in 1.3 version and matured in 1.4. And as far as I understand the Solr team encourages the use of multi-core. Marc. On Fri, Feb 18, 2011 at 3:04 PM, Thumuluri, Sai < sai.thumul...@verizonwireless.com> wrote: > Thank you, I will go the multi-core route and see how that

Re: GET or POST for large queries?

2011-02-18 Thread Markus Jelsma
Increase the setting in solrconfig On Friday 18 February 2011 15:30:11 mrw wrote: > Thanks for the response. > > POSTing the data appears to avoid the header threshold issue, but it breaks > because of the "too many boolean clauses" error. > > gearond wrote: > > Probably you could do it, and sol

Re: GET or POST for large queries?

2011-02-18 Thread mrw
Thanks for the response and info. I'll try that. Jonathan Rochkind wrote: > > Yes, I think it's 1024 by default. I think you can raise it in your > config. But your performance may suffer. > > Best would be to try and find a better way to do what you want without > using thousands of cla

Re: GET or POST for large queries?

2011-02-18 Thread mrw
Thanks for the response. Yes, the queries are fairly large. Basically, the corporate security policy dictates that we use row-level security attributes from the DB for access control to Solr. So, we bake row-level security attributes from the database into the index, and then, at query time,

RE: Solr multi cores or not

2011-02-18 Thread Thumuluri, Sai
Thank you, I will go the multi-core route and see how that works out. I guess, if we have to run queries across the cores, I may have to just run separate queries. -Original Message- From: Marc SCHNEIDER [mailto:marc.schneide...@gmail.com] Sent: Friday, February 18, 2011 8:01 AM To: solr

Re: Solr multi cores or not

2011-02-18 Thread Marc SCHNEIDER
Hi, It depends on what kind of data you are indexing between your multiple applications. If app1 has many fields to be indexed and app2 too and if theses fields are differents then it would probably be better to have multi cores. If you have a lot of common fields between app1 and app2 then one in

string field_type query

2011-02-18 Thread Isha Garg
i had declare a field_name=category ,field_type=string now i am querying category:Crime but it did nt show any results .But when i query for *:* it shows values related to this category can anyone tell me the problem?

[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 post.j

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 shoul