Re: ' invisible ' words

2011-07-11 Thread deniz
Thank you Lance, but that German/Germany thing was just an example... I have some other problems too... but well first will try your advice - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/invisible-words-tp3158060p3161365.html Sent

Re: fst must be non null

2011-07-11 Thread Robert Muir
It just means in your schema.xml, you have a SynonymFilterFactory configured, but it has no actual active rules (e.g. synonyms.txt is empty or all commented out). the reason for the warning is that its a little strange to declare to use a synonymfilterfactory in the schema that doesn't actually ha

Re: fst must be non null

2011-07-11 Thread Stuart King
Sorry Robert, What does that mean? Should I be providing synonyms in my queries? Cheers Stu On Tue, Jul 12, 2011 at 1:49 PM, Robert Muir wrote: > I just committed a fix for this, to warn that you are using an empty > set of synonyms instead of error. > > On Mon, Jul 11, 2011 at 10:50 PM, Stua

Re: ' invisible ' words

2011-07-11 Thread Lance Norskog
German/Germany is being changed by an English-language stemmer. Strip your analysis chains down the minimum and walk through what happens when you add each step. On Mon, Jul 11, 2011 at 8:43 PM, deniz wrote: > Thank you Erick, I have did what you have said but unfortunately, nothing is > changed

Re: fst must be non null

2011-07-11 Thread Robert Muir
I just committed a fix for this, to warn that you are using an empty set of synonyms instead of error. On Mon, Jul 11, 2011 at 10:50 PM, Stuart King wrote: > I have been building and running against trunk. In my build I have a number > of tests, testing solr functionality within my app. > > As of

Re: ' invisible ' words

2011-07-11 Thread deniz
Thank you Erick, I have did what you have said but unfortunately, nothing is changed with the problem... Even if I use the admin interface the result is still the same... I have tried removing stopword and synonym files too but still i got that weird result... another fact is that i can match

fst must be non null

2011-07-11 Thread Stuart King
I have been building and running against trunk. In my build I have a number of tests, testing solr functionality within my app. As of yesterday, I am getting build failures with this exception. Something has changed on trunk. I am not sure what. ERROR [12 Jul 2011 12:49:28] org.apache.solr.core.S

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Koji Sekiguchi
I don't think you have wrong setting in UIMA, but you may have the request handler named "/update/javabin" in solrconfig.xml is not correct? koji -- http://www.rondhuit.com/en/ (11/07/12 0:52), Sowmya V.B. wrote: Hi I just added the fields which are added to the index by one of the annotators

Re: Average PDF index time

2011-07-11 Thread Markus Jelsma
> Hi all, > > Are there some kind of average indexing times or PDF's in relation to > its size? > I have here a 10MB PDF (50 pages) which takes about 30 seconds to index! > Is that normal? Depends on you hardware. PDF parsing is a lot more tedious than XML and besides parsing it's also analyzed

Re: Query grouping search terms with proximity operator

2011-07-11 Thread Ahmet Arslan
--- On Mon, 7/11/11, Jens Sieckmann wrote: > From: Jens Sieckmann > Subject: Query grouping search terms with proximity operator > To: "solr-user@lucene.apache.org" > Date: Monday, July 11, 2011, 6:44 PM > Hi folks, > > I’m new to Solr and just evaluating it for my purposes. > > I want to c

Re: How do I specify a different analyzer at search-time?

2011-07-11 Thread Mike Sokolov
There is a syntax that allows you to specify different analyzers to use for indexing and querying, in solr.xml. But if you don't do that, it should use the same analyzer in both cases. -Mike On 07/11/2011 10:58 AM, Gabriele Kahlout wrote: With a lucene QueryParser instance it's possible to

Re: How to create a solr core if no solr cores were created before?

2011-07-11 Thread Gabriele Kahlout
have a look here [1]. [1] https://issues.apache.org/jira/browse/SOLR-2645?focusedCommentId=13062748&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13062748 On Mon, Jul 11, 2011 at 4:46 PM, Mark Schoy wrote: > Hi, > > I tried to create a solr core but I always get

Re: Broken attachment link on Wiki

2011-07-11 Thread Simon Wistow
Bump? On Mon, Jun 27, 2011 at 06:17:42PM +0100, me said: > On the SolrJetty page > > http://wiki.apache.org/solr/SolrJetty > > there's a link to a tar ball > > http://wiki.apache.org/solr/SolrJetty?action=AttachFile&do=view&target=DEMO_multiple_webapps_jetty_6.1.3.tgz > > which fails with th

!frange probelm

2011-07-11 Thread Rohit Gupta
Hi, I am trying to execute an !frange query, but I can't seem to get past the following error, Bad Request request: http://xyz.com:12397/solr/tw/select?q=(Organix)&fq={%21frange l=834925 u=834925}id&fq={%21frange l=834345 u=834345}id&sort=createdOnGMTDate desc&start=0&rows=26&wt=javabin&versi

Re: Increase String length

2011-07-11 Thread tautilus
You can use solr.TextField and KeywordTokenizer because it creates just a token with the input. bye -- View this message in context: http://lucene.472066.n3.nabble.com/Increase-String-length-tp3156430p3159454.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Restricting the Solr Posting List (retrieved set)

2011-07-11 Thread Pooja Verlani
Thanks for the reply. I am having a very huge index, so to retrieve older documents when not needed definitely wastes time and also at the same time I would need to do recency boosts/ time sort. So, I am looking for a way to avoid that. Thats why I am in need to restrict my docset and recently ad

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
Hi I just added the fields which are added to the index by one of the annotators to the index, in the fieldmappings section. I am not getting any compilation errors and still see the admin interface. However, when I index, i just get a SolrException, org.apache.solr.common.SolrException: Bad Requ

Query grouping search terms with proximity operator

2011-07-11 Thread Jens Sieckmann
Hi folks, I’m new to Solr and just evaluating it for my purposes. I want to combine OR-grouped search terms by using the proximity operator with other OR-grouped terms. Something like (although this is not query parser syntax): (term A OR term B OR term c) NEAR/5 (term D OR term E) I didn't fin

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Koji Sekiguchi
disclaimer: I'm not an expert of UIMA. I've just started using it when Solr 3.1 integrated UIMA! Thanks for the clarification. Now, I get it. Should section mention all the annotators, even if the annotators do not add any new fields? For example, if I have a pipeline, starting from "parser"

Average PDF index time

2011-07-11 Thread alexander sulz
Hi all, Are there some kind of average indexing times or PDF's in relation to its size? I have here a 10MB PDF (50 pages) which takes about 30 seconds to index! Is that normal? greetings alex

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
Koji Thanks for the clarification. Now, I get it. Should section mention all the annotators, even if the annotators do not add any new fields? For example, if I have a pipeline, starting from "parser", "tokenizer" and "tagger", all of them operate on a field called "text"..which is the of the d

Edismax query parser and non existent fields

2011-07-11 Thread Jamie Johnson
I am using the Edismax query parser and have noticed that if I specify a field that is invalid for a document I still get results which I would not have expected. For instance if I say first_name:kris, and not all my documents have the field first name I can still get back documents where the firs

Re: Query Rewrite

2011-07-11 Thread Jamie Johnson
Thanks Dmitry, I think I've got this now. On Sun, Jul 10, 2011 at 3:55 AM, Dmitry Kan wrote: > was typying this on-the-go from my phone, I meant LuceneQParserPlugin of > course. > > On Sat, Jul 9, 2011 at 6:39 PM, Dmitry Kan wrote: > >> you can try extending LuceneQParser. In its createParser me

How do I specify a different analyzer at search-time?

2011-07-11 Thread Gabriele Kahlout
With a lucene QueryParser instance it's possible to set the analyzer in use. I suspect Solr doesn't use the same analyzer it used at indexing, defined in schema.xml but I cannot verify that without the queryparser instance. >From Jan's diagram it seems this is set in the SearchHandler's init. Is it

How to create a solr core if no solr cores were created before?

2011-07-11 Thread Mark Schoy
Hi, I tried to create a solr core but I always get "No such solr core:"-Exception. - File home = new File( pathToSolrHome ); File f = new File( home, "solr.xml" ); CoreContainer coreContainer = new CoreContainer(); coreContainer.load( pathToSolrHome, f ); EmbeddedSolrServer server = new Emb

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Koji Sekiguchi
Sowmya, The combination of fieldNameFeature and dynamicField can be used when using, e.g. named entity extractor that tend to produce a lot of attributes, organization, location, country, building, spot, title,... If you are going to use such named entity extractor, you don't want to define each

Re: ' invisible ' words

2011-07-11 Thread Erick Erickson
Try running your text and query through the admin/analysis page and see what tokens come out the other end, that may give you a clue. Nothing jumps out from the definitions Also, what comes out when you attach &debugQuery=on to the query? That sometimes helps too... Unless you have something

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
Hi Koji Thanks a lot for the examples. Now, I was able to compile a JAR snapshot, with my own UIMA pipeline. However, despite seeing the example solrconfig.xml, I am not able to figure out how to add mine. In the example: entity name *_sm I still don't understand wha

Re: Increase String length

2011-07-11 Thread viruslviv
You can use TextField instead of StrField: -- View this message in context: http://lucene.472066.n3.nabble.com/Increase-String-length-tp3156430p3159059.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Restricting the Solr Posting List (retrieved set)

2011-07-11 Thread Bob Sandiford
A good answer may also depend on WHY you are wanting to restrict to 500K documents. Are you seeking to reduce the time spent by Solr in determining the doc count? Are you just wanting to prevent people from moving too far into the result set? Is it case that you can only display 6 digits for

Re: Restricting the Solr Posting List (retrieved set)

2011-07-11 Thread Ahmet Arslan
> We want to search in an index in such a way that even if a > clause has a long > posting list - Solr should stop collecting documents for > the clause > after receiving X documents that match the clause. > > For example, if  for query "India",solr can return 5M > documents, we would > like to

RE: Error using Custom Functions for DIH

2011-07-11 Thread Aviraj Chavan
Hello, Can anyone guide me on this issue? Regards Aviraj -Original Message- From: Aviraj Chavan [mailto:aviraj_cha...@persistent.co.in] Sent: Saturday, July 09, 2011 2:20 PM To: solr-user@lucene.apache.org Subject: Error using Custom Functions for DIH Hi, I am trying to use DIH custom f

Re: Error using Custom Functions for DIH

2011-07-11 Thread Frank Wesemann
Aviraj Chavan schrieb: public class PrepareQuery extends Evaluator { @Override public String evaluate(VariableResolver arg0, String arg1) { String subQueryStr = "select ID, CATEGORY_NAME from CATEGORY_MASTER where ID=" + arg1;

Re: Can I delete the stored value?

2011-07-11 Thread Simon Willnauer
On Mon, Jul 11, 2011 at 8:28 AM, Andrzej Bialecki wrote: > On 7/10/11 2:33 PM, Simon Willnauer wrote: >> >> Currently there is no easy way to do this. I would need to think how >> you can force the index to drop those so the answer here is no you >> can't! >> >> simon >> >> On Sat, Jul 9, 2011 at

Re: Solr Configuration with 404 error

2011-07-11 Thread karsten-solr
Hi rocco, you did not stop jetty after your first attempt. (You have to kill the task.) Best regards Karsten btw: How to change the port 8983: http://lucene.472066.n3.nabble.com/How-to-change-a-port-td490375.html Original-Nachricht > Datum: Sun, 10 Jul 2011 20:11:54 -0700 (P

Restricting the Solr Posting List (retrieved set)

2011-07-11 Thread Pooja Verlani
Hi, We want to search in an index in such a way that even if a clause has a long posting list - Solr should stop collecting documents for the clause after receiving X documents that match the clause. For example, if for query "India",solr can return 5M documents, we would like to restrict the se

Re: ' invisible ' words

2011-07-11 Thread deniz
- Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/invisible-

Re: ' invisible ' words

2011-07-11 Thread Gora Mohanty
On Mon, Jul 11, 2011 at 10:10 AM, deniz wrote: > hi all... > > I have a field, which is a text type: > >   [...] Please show us the analyser/tokeniser chain for the fieldType "info". Regards, Gora