Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Ryan McKinley
glad you got things worked out. I don't use tomcat, so I can't be too much use. Check: http://wiki.apache.org/solr/SolrTomcat and also feel free to include any tips to help others as well. One more question: Does tomcat have anywhere to place the library shared by all application? This

Re: return only sorted Field, but with a different Field Name

2008-03-13 Thread Ryan McKinley
Chris Hostetter wrote: : there is nothing like this in solr right now, it doesn't seem like something : that should be odne in solr, as it would be a simple translation that could : be done via an XSLT or some client layer code. : It may be more work then it is worth, but I would like to see

Re: What can get past document uniqueness?

2008-03-13 Thread Ryan McKinley
Check this thread: http://www.nabble.com/duplicate-entries-being-returned%2C-possible-caching-issue--td15237016.html perhaps it is related? Brian Whitman wrote: On a solr instance with !-- field to use to determine and enforce document uniqueness. -- uniqueKeyid/uniqueKey This is

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-12 Thread Ryan McKinley
Vinci wrote: Hi all, after several hour I make the solr works a little bit: the jetty version works, but the tomcat version doesn't. To me it looks like the xml parser is not loading properly... check the last line of your trace. at

Re: Query Level Boosting

2008-03-12 Thread Ryan McKinley
oleg_gnatovskiy wrote: Hello. I was wondering if anyone knew a way to do query level boosting with SolrJ. On the http client I could just do something like sku:123^2.3 which would boost the sky query 2.3 points. boosting is part of the query string, try: query.setQuery( sku:123^2.3 );

Re: return only sorted Field, but with a different Field Name

2008-03-12 Thread Ryan McKinley
Chris Hostetter wrote: : : For example, say I want to sort by the field '162_sortable_s' then I add a : parameter like so 'sort=162_sortable_s.' I need to change the settings so : that when the result set is returned from solr, it takes the values of : '162_sortable_s' and inserts them into a

Re: SolrQuery.getStart(), SolrQuery.getRows(), always return null

2008-03-12 Thread Ryan McKinley
I just committed a change to SolrQuery so that getRows and getStart use getInt() rather then getFieldInt() Thanks for pointing this out! Thijs wrote: I'm running into a problem where the calls to SolrQuery.getStart(), SolrQuery.getRows() always return null I'm using trunk of 1.3 I think I

Re: run-ketty-run

2008-03-06 Thread Ryan McKinley
Benson Margulies wrote: A helpful correspondent responded to a JIRA of mine suggesting run-jetty-run to debug solr plugins from eclipse. Can someone provide a bit more detail? Do you link your examples dir into your Eclipse project? Make a separate Eclipse project that points to the examples

Re: Some problem with ShowFileRequestHandler

2008-03-06 Thread Ryan McKinley
Thanks for pointing this out. In trunk, I changed the RawResponseWriter to use the Reader rather then the Stream -- this way, you should not have to specify the contentType to make it match the FileReader. Does this fix your issues? thanks ryan Edward Zhang wrote: My workmate and me found a

Re: passing query string into SOLR

2008-03-06 Thread Ryan McKinley
Paul Treszczotko wrote: What I'm trying to do is to pass a query string as such: ?q=searchTermfacet.field=navigatorfacet=truefq=navigator:some text right into SOLR without splitting each parameter from the query string and setting it with setParam() or setQuery(). And the questions I have: -

Re: Question about facet.prefix usage

2008-03-06 Thread Ryan McKinley
steve berry wrote: Question: Is it possible to pass complex queries to facet.prefix? Example instead of facet.prefix:foo I want facet.prefix:foo OR facet.prefix:bar No (unless you want to write your own SimpleFacets subclass) The multivalued market_category fields are flattened

Re: passing params into SOLR

2008-03-05 Thread Ryan McKinley
Paul Treszczotko wrote: Hi all, I'm using solrJ to build a wrapper for ColdFusion (scripting language such as PHP). What's the best practice for passing search parameters into solr from a web app? What are the shortcomings of each approach? Currently, I'm explicitly setting the params with

Re: multi core vs multi app

2008-03-03 Thread Ryan McKinley
Otis Gospodnetic wrote: Quick answers. 2 webapps one core/index each vs. 1 webapp with 2 cores (but there is also 1 webapp with 2 virtual webapps, one core/index each). If RAM is an issue, I'd think 1 webapp would be slightly gentler on your RAM. I think we should emphasize the *slightly*

Re: Top N terms of an indexed field

2008-02-28 Thread Ryan McKinley
Alex Benjamen wrote: I was wondering if it is possible to retrieve the top 20 terms for a given fields in an index. For example, if we're indexing user profile data and one of the fields is interests - it would be great to get the top 20 terms for interests found in the index. check out

Re: Using embedded Solr with admin GUI

2008-02-19 Thread Ryan McKinley
Ken Krugler wrote: If you are running a single webapp, you can just put the jsp files in there. I'm guessing that isn't what you mean though. Well, ultimately we're heading towards a single webapp with multiple embedded Solr cores. In that case, could the .jsp-based GUI/admin functionality

Re: Socket exception

2008-02-16 Thread Ryan McKinley
Perhaps increasing the setConnectionTimeout() would help? try 100 or 1000 and see if that helps 14:24:21,549 ERROR [[default]] Servlet.service() for servlet default threw exception java.lang.RuntimeException: org.apache.solr.client.solrj.SolrServerException: Error executing query at

Re: Using embedded Solr with admin GUI

2008-02-16 Thread Ryan McKinley
If you are running a single webapp, you can just put the jsp files in there. I'm guessing that isn't what you mean though. There are a bunch of admin request handlers that do many of the things from the /admin/ jsp files without the nice interface. The one major missing component was

Re: Is optimize always a commit?

2008-02-15 Thread Ryan McKinley
yes. optimize also commits Maximilian Hütter wrote: Hi, maybe this is a stupid question, but is a optimize always a commit? In the log it looks like it: start commit(optimize=true,waitFlush=false,waitSearcher=true) I just wanted to be sure. Best regards, Max

Re: Facing problem with the FieldType of UniqueField

2008-02-14 Thread Ryan McKinley
I noticed this happened because the field type was string. I then changed it to a custom text type and had specified only the whitespace tokenizer and lowercase filter. It worked. The users were able to search on the are there spaces in your unique key? Try using the KeywordTokenizer -- the

Re: Setting the schema files

2008-02-12 Thread Ryan McKinley
Aditi Goyal wrote: Hi, I am using the SOLR searching in my project. I am actually little bit confused about how the schema works. Can you please provide me the documentation where I can define how should my query work? Like, I want that a, and, the etc should not be searched. Also, it should

Re: SolrJ and Unique Doc ID

2008-02-11 Thread Ryan McKinley
right now you need to know the unique key name to get it... I don't think we have any easy way to get that besides parsing the schema With debugQuery=true, the uniqueKey is added to the 'explain' info: lst name=explain str name=id=YOURID,internal_docid=0 ... this gets parsed into the

Re: range vs. filter queries

2008-02-11 Thread Ryan McKinley
Would this be better as four individual filters? Only if there were likely to occur again in combination with different constraints. My guess would be no. this is because the filter could not be cached? Since i know it should not cached, is there any way to make sure it does not purge

range vs. filter queries

2008-02-11 Thread Ryan McKinley
Hello- I'm working on a SearchComponent that should limit results to entries within a geographic range. I would love some feedback to make sure I'm not building silly queries and/or can change them to be better. I have four fields: field name=north type=sfloat ... / field name=south

Re: range vs. filter queries

2008-02-11 Thread Ryan McKinley
Lance Norskog wrote: Is it not possible to make a grid of your boxes? It seems like this would be a more efficient query: grid:N100_S50_E250_W412 This is how GIS systems work, right? something like that... I was just checking if I could get away with range queries for now... I'll also

Re: SolrJ and Unique Doc ID

2008-02-11 Thread Ryan McKinley
thoughts on requiring that for solrj? perhaps in 2.0? Not suggesting it is a good idea (yet)... but we may want to consider it. Yonik Seeley wrote: Hmmm, I should have just mandated that the id field be called id from the start :-) On Feb 11, 2008 5:51 PM, Grant Ingersoll [EMAIL PROTECTED]

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
I think Erik was looking at this earlier... I think there may be an open JIRA issue for it, but don't recall which one off the top of my head. I think you want an ResponseParser that just stuffs the text into the named list. If you have any trouble, i can throw something together real

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
SolrServer, but I guess I can cast. Also, the setProcessor isn't great in that it isn't thread-safe (i.e. if I am reusing said SolrServer for other tasks in other threads). Would adding an request() method that takes in a ResponseParser make sense? -Grant On Feb 8, 2008, at 4:14 PM, Ryan

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
Grant Ingersoll wrote: btw, is https://issues.apache.org/jira/browse/SOLR-402 the issue you were referring to? yes. -Grant On Feb 8, 2008, at 4:14 PM, Ryan McKinley wrote: I think Erik was looking at this earlier... I think there may be an open JIRA issue for it, but don't recall

Re: SolrJ and RawResponses

2008-02-08 Thread Ryan McKinley
Thinking about this some more... yes, the SolrRequest should say what parser is used. It is the request that has to deal with the output in the end. Any change here need to make sure to address lines 125,126 of CommonsHttpSolrServer _invariantParams.set( CommonParams.WT,

Re: Get Config / Schema, 1.3-dev Broken?

2008-02-08 Thread Ryan McKinley
add: requestHandler name=/admin/ class=org.apache.solr.handler.admin.AdminHandlers / to solr config, then check: /admin/file?file=solrconfig.xml This is using a requestHandler rather then a jsp file... CHANGES.txt exaplins this too ryan Matthew Runo wrote: Hello! Recently, using

Re: Limiting duplicate field occurrences to specified number

2008-02-04 Thread Ryan McKinley
perhaps: https://issues.apache.org/jira/browse/SOLR-236 Briggs wrote: Is it possible to limit the number of duplicate field values are returned in a search result? To give a use case, I have a set of products. Each product belongs to a single vendor. When I query, I would like only n-number

Re: For an XML fieldtype

2008-02-04 Thread Ryan McKinley
Depends what you are trying to do. Is there anything wrong with just using string or text fieldType? If you use the XML writer, it will get returned xml encodedd ( becomes gt etc). I think if you use the JSON writer, it is only escaped for json. what is missing? what problem are you

Re: How does remote streaming works for xml files?

2008-02-01 Thread Ryan McKinley
Leonardo Santagada wrote: On 31/01/2008, at 22:56, Ryan McKinley wrote: Jan 31, 2008 9:39:01 PM org.apache.solr.core.SolrCore execute INFO: /update stream.filename=/tmp/commited_1201822625MainThread0_add_file.xml 0 0 isn't stream.file the parameter name? ryan Thanks, that was stupid

Re: Querying multiple dynamicField

2008-02-01 Thread Ryan McKinley
sorry, nothing currently will do that. There is discussion about how to do it, but nothing concrete https://issues.apache.org/jira/browse/SOLR-247 http://wiki.apache.org/solr/FieldAliasesAndGlobsInParams Renaud Delbru wrote: Hi, We would like to know if there is an efficient way to query

Re: How does remote streaming works for xml files?

2008-01-31 Thread Ryan McKinley
Jan 31, 2008 9:39:01 PM org.apache.solr.core.SolrCore execute INFO: /update stream.filename=/tmp/commited_1201822625MainThread0_add_file.xml 0 0 isn't stream.file the parameter name? ryan

Re: Building Solr with Maven 2 - Solr-19

2008-01-27 Thread Ryan McKinley
run: ant example or it come pre packaged in a nightly build David Pratt wrote: Hi Ryan. Thanks for your reply. I don't see anywhere that we have created a war for the example app to use. Jetty will run but it does not have an app to run. Regards, David Ryan McKinley wrote: aaah -- mvn

Re: Building Solr with Maven 2 - Solr-19

2008-01-26 Thread Ryan McKinley
I just posted the pom.xml I am using with the current trunk code. Give that a go. src/java/org/apache/solr/handler/component/ShardRequest.java:[60,0] 'class' or 'interface' expected src/java/src/test/org/apache/solr/TestDistributedSearch.java:[129,0] 'class' or 'interface' expected

Re: Building Solr with Maven 2 - Solr-19

2008-01-26 Thread Ryan McKinley
. Regards, David Ryan McKinley wrote: I just posted the pom.xml I am using with the current trunk code. Give that a go. src/java/org/apache/solr/handler/component/ShardRequest.java:[60,0] 'class' or 'interface' expected src/java/src/test/org/apache/solr/TestDistributedSearch.java:[129,0] 'class

JSON tokenizer? tagging ideas

2008-01-25 Thread Ryan McKinley
I've been struggling with how to get various bits of structured data into solr documents. In various projects I have tried various ideas, but none feel great. Take a simple example where I want a document field to be the list of linked data with name, ID, and path. I have tried things like:

Re: Restricted views of an index

2008-01-25 Thread Ryan McKinley
Karen Loughran wrote: Hi all, Is there any interest/activity for SOLR to provide a restricted view of an index, making only certain fields available/public, depending on the identity of the requesting client ? Certain information in our index is confidential and should only be accessible to

Re: java.lang.IncompatibleClassChangeError

2008-01-24 Thread Ryan McKinley
make sure to run ant clean if you get funny compilation errors after an update. Marcus Herou wrote: Hi. I did a svn update in trunk and deployed new war on server and jars on client (after recompile) and got this. I read that the SolrServer changed from Abstract Class to interface. Does this

Re: runs vs. running - Query time vs Index Time stemming

2008-01-24 Thread Ryan McKinley
filter class=solr.EnglishPorterFilterFactory protected=protwords.txt/ isn't that what protwords.txt does?

Re: Embedded Solr and Servlet Solr

2008-01-23 Thread Ryan McKinley
Is it possible to use SolrJ in my web application to access Solr remotely and use SolrJ in a simple application to access Solr locally for full re indexation? yes - check: http://wiki.apache.org/solr/Solrj for remote, use CommonsHttpSolrServer and for local, use: EmbeddedSolrServer. ryan

Re: auto Warming and Special Character

2008-01-22 Thread Ryan McKinley
same way you put any in xml... amp; Jae Joo wrote: In the firstsearch listner, I need to use special character in the q string, but it complains Error - filterStart listener event=firstSearcher class=solr.QuerySenderListener arr name=queries lst str

Re: copyField limitation

2008-01-22 Thread Ryan McKinley
Solr does not now do this. I don't know if the Solr processing stack has this flexibility, or if it is worth adding it. I understand every example you have suggested -- i just don't get how it isn't possible. Can you post an exampe of the schema+commands that give you an error? If your

Re: Newbie with Java + typo

2008-01-21 Thread Ryan McKinley
Daniel Andersson wrote: Hi people First the typo on http://wiki.apache.org/solr/mySolr: Production Typically it's not recommended do have your front end it should probably be ..recommended To have.. you can edit any of the wiki pages... fixing typos is a great contribution! As a newbie,

Re: Solr feasibility with terabyte-scale data

2008-01-19 Thread Ryan McKinley
We are considering Solr 1.2 to index and search a terabyte-scale dataset of OCR. Initially our requirements are simple: basic tokenizing, score sorting only, no faceting. The schema is simple too. A document consists of a numeric id, stored and indexed and a large text field, indexed not

Re: copyField limitation

2008-01-17 Thread Ryan McKinley
But, the copyField directive in the schema has a limitation. It will only copy data between fields with the same type. If the two fields are a different type, the copy is ignored. This example would require copyField to translate 'sint' to 'integer'. really? what version are you running?

Re: XSLT to preprocess XML documents into 'update xml documents' ?

2008-01-15 Thread Ryan McKinley
I have not tried it, but check: https://issues.apache.org/jira/browse/SOLR-285 Karen Loughran wrote: Hi all, I noticed some recent discussion with regard to using XSLT to preprocess XML documents into 'update xml documents' : http://www.mail-archive.com/[EMAIL

Re: best way to get number of documents in a Solr index

2008-01-15 Thread Ryan McKinley
try a query with q=*:* the 'numFound' will be every document -- use rows=0 to avoid returing docs (if you like) ryan Maria Mosolova wrote: Hello, I am looking for the best way to get the number of documents in a Solr index. I'd like to do it from a java code using solrj. Any suggestions

Re: new to solr

2008-01-14 Thread Ryan McKinley
Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: Hello, I am new to solr. Welcome! I followed solr online tutorial to get the example work. The search result is xml. I wonder if there is a way to show result in a form. I saw there is example.xsl in conf/xslt directory. I really don't know how to do

Re: new to solr

2008-01-14 Thread Ryan McKinley
. Please let me know where the search result is located. I can use php or .net to display the result in web. Is it created on fly? Thanks, Xiaohui -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 11:37 AM To: solr-user@lucene.apache.org

Re: unique ID question

2008-01-14 Thread Ryan McKinley
Evgeniy Strokin wrote: If I make one of my field as a unique ID, id doesn't increase/decrease performance of searching by this field. Right? For example if I have two fields, I know for sure both of them are unique, both the same type, and make one of them as a Solr Unique ID. The general

Re: Disable Solr Admin Page To Access on Client Browser....

2008-01-11 Thread Ryan McKinley
All servlet containers provide some mechamism for authentication/authoriation -- just use that to restrict access to /admin and/or /update If you really want to, you can also register a dummy RequestHandler to /admin and that will block access to the JSP interface ryan Laxmilal Menaria

Re: Delte by multiple id problem

2008-01-11 Thread Ryan McKinley
Does Solr 1.3 has been released or we have to wait?? not released yet -- it is the nightly build

Solrj changes (int now long) SOLR-434

2008-01-09 Thread Ryan McKinley
For solrj users... The SolrDocumentList numFound and offsets just changed to support 2B docs -- you may need to update some code to avoid loss of precision errors. Unless you are using SOLR-303, the numFound will never be out of integer range, so in that case a simple cast should be enough.

Re: WELCOME to solr-user@lucene.apache.org

2008-01-08 Thread Ryan McKinley
currently two approaches: http://blog.foofactory.fi/2007/02/online-indexing-integrating-nutch-with.html and: https://issues.apache.org/jira/browse/NUTCH-442 I have had experience with the former... you may have more luck on the nutch-user list for help ryan Jan Buelens wrote: Hi, We are

Re: Status 500 - ParseError at [row,col]:[1,1] Message Content is not allowed in Prolog

2008-01-08 Thread Ryan McKinley
try it without and see how you do... I just updated the wiki Kirk Beers wrote: Brian Whitman wrote: On Jan 8, 2008, at 10:58 AM, Kirk Beers wrote: curl http://localhost:8080/solr/update -H Content-Type:text/xml --data-binary '/add allowDups=false overwriteCommitted=true

Re: Multicore request

2008-01-08 Thread Ryan McKinley
Jae Joo wrote: I have built two cores - core0 and core1. each core has different set of index. I can access core0 and core 1 by http://localhost:8983/solr/core[01]/admin/form.jsp. Is there any way to access multiple indexes with single query? nothing standard. From a custom RequestHandler,

Re: Unique field and EmbeddedSolr issue..

2008-01-06 Thread Ryan McKinley
1. I am using EmbeddedSolr and using example from here: http://wiki.apache.org/solr/EmbeddedSolr I just noticed that there is a note there saying that the page is out of date, is that true and if yes is there an example that uses Solrj? unless you *really* need to - and feel comfortable

Re: Another text I cannot get into SOLR with csv

2008-01-04 Thread Ryan McKinley
Michael Lackhoff wrote: If the fields value is: 's-Gravenhage I cannot get it into SOLR with CSV. I tried to double the single quote/apostrophe or escape it in several ways but I either get an error or another character (the escape) in front of the single quote. Is it not possible to have a

Re: SolrJ Javadoc?

2008-01-04 Thread Ryan McKinley
run: ant javadoc-solrj and that will build them... Yes, they should be built into the nightly distribution... Matthew Runo wrote: Hello! I've seen some SVN commits and heard some rumblings of SolrJ javadoc - but can't seem to find any. Is there any yet? I know that SolrJ is still pretty

Re: solr with hadoop

2008-01-04 Thread Ryan McKinley
Mike Klaas wrote: On 4-Jan-08, at 11:37 AM, Evgeniy Strokin wrote: I have huge index base (about 110 millions documents, 100 fields each). But size of the index base is reasonable, it's about 70 Gb. All I need is increase performance, since some queries, which match big number of documents,

Re: Field collapsing

2008-01-03 Thread Ryan McKinley
excellent! Yes, there is interest. Doug Steigerwald wrote: I finally took more than 30 minutes to try and apply the patch and got it to (mostly) work. Will try to submit it tomorrow for review if there's interest. Doug Ryan McKinley wrote: I think the last patch is pre QueryComponent

Re: Configure solr on tomcat with different indexes

2008-01-03 Thread Ryan McKinley
http://wiki.apache.org/solr/SolrTomcat#head-024d7e11209030f1dbcac9974e55106abae837ac using different values for solr home should give you new indexes for each. ryan Laxmilal Menaria wrote: Hello, I have configured solr with tomcat for multiple webapp. This configuration use common index, so

Re: How to configure Solr on Tomcat 6.0 as windows Service

2008-01-02 Thread Ryan McKinley
For tomcat configuration notes, check: http://wiki.apache.org/solr/SolrTomcat I don't use tomcat, (their user list may be more useful if something goes wrong) - but this may help: http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html ryan Laxmilal Menaria wrote: Hello

Re: No search results when configure solr on tomcat as service

2008-01-02 Thread Ryan McKinley
Are you indexing files while tomcat is running? If so, are you sending the commit/ message? If so, can you see what is happening in the logs? The jetty example and your tomcat setup probably put their indexes in different places, so they will not have the same results. ryan Laxmilal

Re: Create new core on the fly

2008-01-02 Thread Ryan McKinley
The LOAD method will load a core from a schema/config file -- it will not need to be in multicore.xml (the persist=true option should serialize this change into multicore.xml) Henri's latest patch implements LOAD, but it needs some clean up to apply cleanly to the current trunk. ryan

Re: How to perform a double query in one

2008-01-02 Thread Ryan McKinley
If I understand the question... you essentially want a JOIN function. Find the set of docs linked to by an initial query. Right now, you either need to do two queries (in the client or custom RequestHandler) OR, if possible, flatten the data into each doc. For your specific example, can you

Re: Cannot start SVN head Solr 1.3

2007-12-28 Thread Ryan McKinley
On Dec 27, 2007, at 4:20 PM, Ryan McKinley wrote: The XppUpdateRequestHandler was removed this afternoon... make sure your sorlconfig.xml does not include: requestHandler name=/update/xpp class=solr.XppUpdateRequestHandler / holler if you have problems! ryan Matthew Runo wrote: Hello

Re: Cannot start SVN head Solr 1.3

2007-12-27 Thread Ryan McKinley
The XppUpdateRequestHandler was removed this afternoon... make sure your sorlconfig.xml does not include: requestHandler name=/update/xpp class=solr.XppUpdateRequestHandler / holler if you have problems! ryan Matthew Runo wrote: Hello! I'm having a horrible time getting the current

Re: AND as a default search operator

2007-12-21 Thread Ryan McKinley
check the example schema.xml file: solrQueryParser defaultOperator=OR/ [EMAIL PROTECTED] wrote: Hi, Is there any way to set AND as the default search operator in Solr instead of OR? cheers Y.

MultCore changes

2007-12-21 Thread Ryan McKinley
For folks using the new MultiCore stuff in 1.3-dev... The interface just changed so that all requests require a core name and the '@' is no longer supported. That is: - http://localhost:8983/solr/@core0/select?q=*:* + http://localhost:8983/solr/core0/select?q=*:* Also, this should fix the

Re: debugging slowness

2007-12-20 Thread Ryan McKinley
Can't run jconsole, no X at the moment, if need be I'll install it though... You should be able to connect jconsole to a remote process (no need for X on the server) check: http://java.sun.com/j2se/1.5.0/docs/guide/management/

Re: solr and NFS in distributed deployment, real time indexing and real time searching

2007-12-20 Thread Ryan McKinley
if you can avoid NFS, that is much better. The solr distribution scripts should help with this. I think recent lucene changes have made it possible, but it will still be slower... Kasi Sankaralingam wrote: Has anyone done the above successfully without pulling hairs (stale NFS handle

Re: Lucene And SOLR

2007-12-19 Thread Ryan McKinley
solr can read any lucene index (provided it is a compatible format to the lucene jars included in that release) To make sure searching is useful, you will need to make sure the configured fields and analyzers are compatible with what you are doing directly with lucene. ryan s d wrote: Is

Re: solr web admin

2007-12-19 Thread Ryan McKinley
it is part of SOLR-350 and will go away soon. The perils of using trunk ;) Ben Incani wrote: why does the web admin append core=null to all the requests? e.g. admin/get-file.jsp?core=nullfile=schema.xml

Re: solr field types and case sensitivity

2007-12-18 Thread Ryan McKinley
Dryganets Sergey wrote: can I change query analyzer for concrete request to solr? ie: I want add option on my site use case-sensitive search or not for this search request, but can't find any good solution ... I think that create duplicates (index only fields with different analyzers

Re: retrieve lucene doc id

2007-12-17 Thread Ryan McKinley
Yonik Seeley wrote: On Dec 17, 2007 1:40 AM, Ben Incani [EMAIL PROTECTED] wrote: I have converted to using the Solr search interface and I am trying to retrieve documents from a list of search results (where previously I had used the doc id directly from the lucene query results) and the solr

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Ryan McKinley
It looks like SolrJ uses percent encoded UTF8 in the POST body for parameters, just as it does in the URL. Does anyone know if this double-encoding (percent encoding of UTF-8 bytes) is a standard for application/x-www-form-urlencoded? I don't believe it is. It is the way it is because it

Re: Multi-index searches

2007-12-17 Thread Ryan McKinley
Kirk Beers wrote: Kirk Beers wrote: Hi, I am interested in using solr and I ran the tutorial but I was wondering if it supports multi-index searching ? Kirk Allow me to clear that up! I would like to have the documents of 2 indices returned at once. Does solr support that ? Or am will it

Re: embeddedsolr and solrj index update request

2007-12-13 Thread Ryan Mckinley
What version solr are you running? Do you have an updateRequestJandler registered to /update? On Dec 13, 2007, at 8:36 AM, Sandeep Shetty [EMAIL PROTECTED] wrote: Hi all, i am using embeddedsolr and solrj to create and update a large index. however even after adding documents and

Re: display tokens

2007-12-12 Thread Ryan McKinley
Chris Hostetter wrote: : Subject: display tokens : : How can I retrieve the analyzed tokens (e.g. the stemmed values) of a : specific field? for a field by name independent of documents? the LukeRequestHandler can give you the top N terms for a field ... but if you mean i did a search, i

Re: Creating document schema at runtime

2007-12-12 Thread Ryan McKinley
Shalin Shekhar Mangar wrote: Hi, I'm looking on some tips on how to create a new document schema and add it to solr core at runtime. The use case that I'm trying to solve is: 1. Using a custom configuration tool, user creates a solr schema 2. The schema is added (uploaded) to a solr instance

Re: Solr 1.3 expected release date

2007-12-12 Thread Ryan McKinley
Owens, Martin wrote: What date or year do we believe Solr 1.3 will be released? Regards, Martin Owens 2008 for sure. It will be after lucene 2.3 and that is a month(more?) away. My honest guess is late Jan to mid Feb. I think the last *major* change going into 1.3 is SOLR-303

Re: How do I search in all fields without index by solr

2007-12-07 Thread Ryan McKinley
Laxmilal Menaria wrote: I have tried that : ?q=laxmilalqt=dismaxfl=FriendID,Title,Address,PhoneNo,Comments ?q=videoqt=dismaxqf=FriendID,Title,Address,PhoneNo,Comments fl is for returning fields, you need 'qf'

Re: spellchecker and multi-core index replication

2007-12-07 Thread Ryan McKinley
2) with multi-core stuff getting in, is Bill Au going to be adding support for multiple indices anyway? As is, you can use all existing scripts for each index. You just need to run snapwhatever for each index. Perhaps if distribution could be handled for a directory that is not

Re: spellchecker and multi-core index replication

2007-12-07 Thread Ryan McKinley
OG: Yes, I think that makes sense - distribute everything for a given core, not just its index. And the spellchecker could then also have its data dir (and only index/ underneath really) and be replicated in the same fashion. Right? Yes, that was my thought. If an arbitrary directory

Re: SolrJ and MoreLikeThis / Spellchecker

2007-12-07 Thread Ryan McKinley
Matthew Runo wrote: Hello! Please forgive my newbie question about SolrJ, but I was unable to find my answer in the SOLRJ source code or the wiki (I'll add it if someone helps). Would anyone be so kind as to provide a quick example of using the Spellcheck handler and the MoreLikeThis

Re: solrj - adding a SolrDocument (not a SolrInputDocument)

2007-12-06 Thread Ryan McKinley
try: public static SolrInputDocument toSolrInputDocument( SolrDocument d ) { SolrInputDocument doc = new SolrInputDocument(); for( String name : d.getFieldNames() ) { doc.addField( name, d.getFieldValue(name), 1.0f ); } return doc; } perhaps we should add this to

Re: solrj - adding a SolrDocument (not a SolrInputDocument)

2007-12-06 Thread Ryan McKinley
Brian Whitman wrote: On Dec 6, 2007, at 3:07 PM, Ryan McKinley wrote: public static SolrInputDocument toSolrInputDocument( SolrDocument d ) { SolrInputDocument doc = new SolrInputDocument(); for( String name : d.getFieldNames() ) { doc.addField( name, d.getFieldValue(name

Re: How do I search in all fields without index by solr

2007-12-06 Thread Ryan McKinley
solr should be able to read any lucene index -- even if it did not create it. The hitch is that you need to make sure the analyzers and fieldTypes match what is in your index otherwise it is unlikely for the result to be what you expect. To get solr to use your manually created index files,

Re: How do I search in all fields without index by solr

2007-12-06 Thread Ryan McKinley
Laxmilal Menaria wrote: thanks for fast reply, I have dump my index in solr data folder and able to search in single field only, but want to search in all fields. also how can I configure StandradAnalyzer in solr config xml. LM On 12/7/07, Ryan McKinley [EMAIL PROTECTED] wrote: solr should

Re: 1.2 commit script chokes on 1.2 response format

2007-12-05 Thread Ryan McKinley
Charles Hornberger wrote: On Dec 4, 2007 6:25 PM, Chris Hostetter [EMAIL PROTECTED] wrote: i'm not sure what you mean by applied to 1.2 ... releases are static: once published they are never changed. in the event of serious bugs (ie: security holes or crash related bugs) then point releases

Re: solr + maven?

2007-12-05 Thread Ryan McKinley
It would be cool if you'd end up with something similar to what Lucene has recently experienced (fully usable maven artifacts for releases and nightly builds). Agreed. Hopefully solr could have a similar setup to lucene. If it has any value I could at least put some poms together. that

Re: Solr Highlighting, word index

2007-12-05 Thread Ryan McKinley
Owens, Martin wrote: Hello everyone, We're working to replace the old Linux version of dtSearch with Lucene/Solr, using the http requests for our perl side and java for the indexing. The functionality that is causing the most problems is the highlighting since we're not storing the text in

Re: SOLR 1.3 trunk error

2007-12-04 Thread Ryan McKinley
did you try 'ant clean' before running 'ant dist'? the method signature for SortSpec changed recently Matthew Runo wrote: Ooops, I get this error when I try to search an index with a few documents in it. ie..

Re: SOLR sorting - question

2007-12-04 Thread Ryan McKinley
Kasi Sankaralingam wrote: Do I need to select the fields in the query that I am trying to sort on?, for example if I want sort on update date then do I need to select that field? I don't think so... are you getting an error? I run queries like: /select?q=*:*fl=namesort=added desc without

solr + maven?

2007-12-04 Thread Ryan McKinley
Is anyone managing solr projects with maven? I see: https://issues.apache.org/jira/browse/SOLR-19 but that is 1 year old If someone has a current pom.xml, can you post it on SOLR-19? I just started messing with maven, so I don't really know what I am doing yet. thanks ryan

Re:

2007-12-02 Thread Ryan McKinley
Andrew Nagy wrote: Hello - I am trying out the CSV importer and am curious with an error that I am consistently running into. What am I doing incorrectly here? I am importing a pipe delimited CSV file with quotes encapsulation. Thanks Andrew curl

<    1   2   3   4   5   6   7   >