Re: solr

2010-08-21 Thread Sumit Arora
Please follow guidelines from : http://lucene.apache.org/solr/tutorial.html http://lucene.apache.org/solr/tutorial.html/Sumit On Sat, Aug 21, 2010 at 11:25 AM, ankita shinde ankita.shind...@gmail.comwrote: Hello, I am new to solr. Can anyone please guide me how to install and use solr?

Re: Require some advice

2010-08-21 Thread Tommaso Teofili
Hi Pavan, you may want to plug UIMA as a particular UpdateRequestProcessor [1] while indexing data (I am working on such a use case). This way you could extract entities and add them either as dynamicFields or pre defined (fixed) fields. 2010/8/12 Michael Griffiths mgriffi...@am-ind.com While

solr

2010-08-21 Thread ankita shinde
hi all, is there need to allot a unique id to every file? do we have to specify the id manually or solr does it? how to allot an unique id to text file?

Re: solr

2010-08-21 Thread Rafał Kuć
Hello! is there need to allot a unique id to every file? You don`t need one, unique id is not mandatory, but many features wont work without it. do we have to specify the id manually or solr does it? Solr doesn`t do it automatically, You have to do it. how to allot an unique id to text

solr

2010-08-21 Thread ankita shinde
hi, does all the data to be indexed has to be in exampledocs folder? how to import data from mysql? I have tried the steps on http://wiki.apache.org/solr/DataImportHandler. but its giving me error as could not create importer.dataimporter. What does it mean? I am completely new to solr. How to

Possible to have more than 1 uniqueKey fields in a document?

2010-08-21 Thread Andy
Is it possible to define more than 1 uniqueKey fields per document in schema.xml?

Duplicate docs when mergin

2010-08-21 Thread Andrew Clegg
-- View this message in context: http://lucene.472066.n3.nabble.com/Duplicate-docs-when-mergin-tp1261979p1261979.html Sent from the Solr - User mailing list archive at Nabble.com.

How to Debug Sol-Code in Eclipse ?!

2010-08-21 Thread stockii
Hello.. Can anyone give me some tipps to debug the solr-code in Eclipse ? or do i need apache-Ant to do this ? thhx =) -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Debug-Sol-Code-in-Eclipse-tp1262050p1262050.html Sent from the Solr - User mailing list archive

Re: solr

2010-08-21 Thread Peter Karich
Hi Ankita, first: thanks for trying apache solr. does all the data to be indexed has to be in exampledocs folder? No. And there are several ways to push data into solr: via indexing, dataimporthandler, solrj, ... I know that getting comfortable with a new project is a bit complicated at

Re: /update/extract

2010-08-21 Thread Jayendra Patil
The Extract Request Handler invokes the classes from the extraction package. https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/contrib/extraction/src/main/java/org/apache/solr/handler/extraction/ExtractingRequestHandler.java This is package into the apache-solr-cell jar. Regards, Jayendra*

Re: Duplicate docs when merging indices?

2010-08-21 Thread Gora Mohanty
On Sat, 21 Aug 2010 05:26:59 -0700 (PDT) Andrew Clegg andrew.cl...@gmail.com wrote: [...] If I merge two indices with CoreAdmin, as detailed here... http://wiki.apache.org/solr/MergingSolrIndexes What happens to duplicate documents between the two? i.e. those that have the same unique key.

Re: facets - id and display value

2010-08-21 Thread Lance Norskog
Faceting harvests the fields that are already indexed (so you have to both store and index the fields) and uses Java object refs (pointers), without copying the facet values. You know how log files have multi-line exception stacks the like? The multi-line exception stacks after the real log line

Re: solr

2010-08-21 Thread Lance Norskog
This will make a unique key for you: In types fieldType name=uuid class=solr.UUIDField indexed=true / In fields field name=id type=uuid indexed=true stored=true default=NEW/ 2010/8/21 Rafał Kuć ra...@alud.com.pl: Hello! is there need to allot a unique id to

Re: Possible to have more than 1 uniqueKey fields in a document?

2010-08-21 Thread Lance Norskog
There can be as many as you want. Buy you can only specify one as the uniqueKey. That is used for Distributed Search and deduplication. Indexing might work better if you concatenate the different unique values into one field. On Sat, Aug 21, 2010 at 3:27 AM, Andy angelf...@yahoo.com wrote: Is

Re: How to Debug Sol-Code in Eclipse ?!

2010-08-21 Thread Lance Norskog
Running unit tests is easy, once you set the right 'current directory' so that unit tests can find their resource files. I have found that if I get a full set of unit tests for something, I don't have to debug it in the full app. Running the whole thing as a servlet has the whole servlet engine

Re: Possible to have more than 1 uniqueKey fields in a document?

2010-08-21 Thread Andy
I'm still a bit confused. Can I define 2 uniqueKey fields in schema.xml? I want to use 2 outside apps. One define a uniqueKey that is a mix of alphabets and numbers. Another app requires a uniqueKey of the type long. Obviously the 2 requirements aren't compatible. I'm trying to see if it's

Re: Possible to have more than 1 uniqueKey fields in a document?

2010-08-21 Thread Lance Norskog
You can only have one field marked as the unique key on Solr. That's it. If you happen to have two unique values per document, that is ok. Only one of them can be the official unique key. It's just like a primary key in a database table. You can't have two primaries. There can only be one. -

Autocomplete and Sorting on multiple multi-value/single-value fields

2010-08-21 Thread Neil Lott
Hi, I'm wondering if anyone has run across this issue before. I do understand that you cannot sort on a multivalued field -- so I'm looking for alternatives people have used. Let's say I have nine fields: field name=title type=text indexed=true stored=true required=true/