Token Stream with Offsets (Token Sources class)

2013-04-07 Thread vempap
Hi, I've the following snippet code where I'm trying to extract weighted span terms from the query (I do have term vectors enabled on the fields): File path = new File( ""); FSDirectory directory = FSDirectory.open(path);

Re: StandardTokenizer generation from JFlex grammar

2012-10-05 Thread vempap
I'm using a wrong jflex version. need to use the version from the trunk -- View this message in context: http://lucene.472066.n3.nabble.com/StandardTokenizer-generation-from-JFlex-grammar-tp4011939p4012094.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. -

StandardTokenizer generation from JFlex grammar

2012-10-04 Thread vempap
Hello, I'm trying to generate the standard tokenizer again using the jflex specification (StandardTokenizerImpl.jflex) but I'm not able to do so due to some errors (I would like to create my own jflex file using the standard tokenizer which is why I'm trying to first generate using that to get a

Re: SpanNearQuery distance issue

2012-09-19 Thread vempap
Shoot me. Thanks, I did not notice that the doc has ".. e a .." in the content. Thanks again :) -- View this message in context: http://lucene.472066.n3.nabble.com/SpanNearQuery-distance-issue-tp4008974p4009034.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. ---

SpanNearQuery distance issue

2012-09-19 Thread vempap
Hello All, I've a issue with respect to the distance measure of SpanNearQuery in Lucene. Let's say I've following two documents: DocID: 6, cotent:"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1001 1002 1003 1004 1005 1006 1007 1008 1009 1100", DocID: 7, content:"a b c d e a b c f g h i j k

Grammar for ComplexPhraseQueryParser

2012-08-20 Thread vempap
Hello, Does anyone have the grammar file (.jj file) for the complex phrase query parser. The patch from https://issues.apache.org/jira/browse/SOLR-1604 does not have the grammar file as part of it. Thanks, Phani. -- View this message in context: http://lucene.472066.n3.nabble.com/Grammar-f

Re: solr.xml entries got deleted when powered off

2012-08-15 Thread vempap
ext3 -- View this message in context: http://lucene.472066.n3.nabble.com/solr-xml-entries-got-deleted-when-powered-off-tp4001495p4001528.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. - To unsub

Re: solr.xml entries got deleted when powered off

2012-08-15 Thread vempap
yes, it's reproducible. One can do that without doing a clean shutdown. I'm using a VM. OS: centos Memory: 2gb -- View this message in context: http://lucene.472066.n3.nabble.com/solr-xml-entries-got-deleted-when-powered-off-tp4001495p4001504.html Sent from the Lucene - Java Developer mailing

Re: Solr Ping Request Handler Problem

2012-08-15 Thread vempap
Hello Syed, Were you able to reproduce the case. I've one more question from my side. I created an index => all the schema.xml & solrconfig.xml files are created with content (I checked that they have contents in the xml files). But, if I poweroff the system & restart again - the contents of

solr.xml entries got deleted when powered off

2012-08-15 Thread vempap
Hello, I created an index => all the schema.xml & solrconfig.xml files are created with content (I checked that they have contents in the xml files). But, if I poweroff the system & restart again - the contents of the files are gone. It's like 0 bytes files. Even, the solr.xml file which got up

Re: Solr Ping Request Handler Problem

2012-08-08 Thread vempap
It is configured in Jetty. One more problem is that it happens so some times & some times it'll be fine which is why it is being difficult for me to reproduce the scenario. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p337.h

Re: Solr Ping Request Handler Problem

2012-08-08 Thread vempap
Hello Syed, Thanks for your reply. Unfortunately, there is not stack trace from Solr side & I'm not using Solr Cloud. It is sending an empty response back when I do a ping request. So, I'm not able to figure out why it is sending an empty response without throwing an exception - there is no exc

Solr Ping Request Handler Problem

2012-08-08 Thread vempap
Hello, I've a problem with SOLR 4.0 Alpha ping request handler. If there are many cores & if I do start all the solr instances and they are up & running successfully, when I do a create index it fails with logs saying that one of the instances is down. I really donno why it is happening as start