content field must occur within 5 positions of each other in the
text correct? Or is it: *any* of the words: electro, hydraulic, power,
assist and steer must occur within 5 positions of each other?
Thanks
Brendan
On Fri, Aug 9, 2013 at 3:45 PM, Brendan Grainger wrote:
>
> +(
> ((conten
+(
((content:electro) (content:hydraulic) (content:power) (content:assist)
(content:steer))~5))
--
Brendan Grainger
www.kuripai.com
> >
> > -
> > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> > For additional commands, e-mail: java-user-h...@lucene.apache.org
> >
> >
>
--
Brendan Grainger
www.kuripai.com
> > >> > Hi,
> > > >> >
> > > >> > I was seeing that Lucene supports both Groups and Facets. But I
> was
> > > >> finding
> > > >> > it difficult to understand the difference between both.
> > > >> >
> > > >> > https://issues.apache.org/jira/browse/LUCENE-1421 - Says "Ability
> > to
> > > >> Group
> > > >> > search results by Field". So, is this by existing Fields that we
> add
> > > >> while
> > > >> > indexing or something different as in FacetFields in Facets?
> > > >> >
> > > >> >
> > > >> > Regards,
> > > >> > Rajesh
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>
--
Brendan Grainger
www.kuripai.com
ueOf(pos));}
>
> Exception in thread "main" java.lang.ClassCastException:
> org.apache.lucene.index.StandardDirectoryReader cannot be cast to
> org.apache.lucene.index.AtomicReader at
> Searcher.searchIndex(Searcher.java:59) at
> Searcher.main(Searcher.java:143)
> PS: i
Builder sb = new StringBuilder();
> > for (int i = 0; i < arr.length; i++) {
> > sb.append(arr[i]);
> > if (i + 1 < arr.length) sb.append(", ");
> > }
> > return sb.toString();
> > }
> >
> > private void puts(O
ngTerms();
ct.index();
ct.countTerms();
}
}
On Fri, May 24, 2013 at 12:14 PM, mary meriem wrote:
> hii am mary and i have a problem with lucene, Actually a work with lucene
> 4.0.0, my problem is, how can I more listed all the terms, the display
> position for each term in each document and their frequency?please help
>
--
Brendan Grainger
www.kuripai.com
Hi All,
Sorry if this is a stupid question, but I'm still catching up with some of
the new APIs and I want to make sure my assumptions are correct.
Anyway, I'm the solr PathHierachyTokenizer to create a number of paths,
e.g. for a book object say with a category field of /compsci/search/lucene
th
>
>
> On Thu, Jun 28, 2012 at 10:39 PM, Brendan Grainger
> wrote:
>> Hi Robert,
>>
>> Looks like this fixes it:
>>
>>MockDirectoryWrapper directory = newDirectory();
>>directory.setNoDeleteOpenFile(false);
Hi Robert,
Looks like this fixes it:
MockDirectoryWrapper directory = newDirectory();
directory.setNoDeleteOpenFile(false); // Don't emulate windows
Thanks
Brendan Grainger
brendan.grain...@gmail.com
www.kuripai.com
On Jun 28, 2012, at 8:57 PM, Robert
er.java:399)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:296)
at
com.kuripai.lucene.analysis.MetaphoneReplacementAnaylyzerTest.testKoolKat(MetaphoneReplacementAnaylyzerTest.java:40)
... 39 more
Brendan Grainger
brendan.grain...@gmail.com
www.kuripai.com
On J
bove to use the deprecated constructor
taking just the directory it works fine:
IndexSearcher searcher = new IndexSearcher(directory);
Brendan Grainger
brendan.grain...@gmail.com
www.kuripai.com
On Jun 28, 2012, at 7:36 PM, Robert Muir wrote:
> Hello,
>
> this part of the stacktrace
Hi,
I'm trying to brush up on some of the *cough* newer APIs (we've been using
2.9.2 up until now). Anyway, I have the test below which a modified version of
one of the tests in Lucene In Action, but uses LuceneTestCase as a base class.
public class MetaphoneReplacementAnaylyzerTest extends Lu
> On Tue, Jan 18, 2011 at 6:04 PM, Grant Ingersoll wrote:
>
>> As devs of Lucene/Solr, due to the way ASF mirrors, etc. works, we really
>> don't have a good sense of how people get Lucene and Solr for use in their
>> application. Because of this, there has been some talk of dropping Maven
>> su
Hi Grant,
It's saying this meeting is closed to new attendees when I try to rsvp
to the meeting. Anyway around that?
Thanks
On Jul 3, 2009, at 8:11 AM, Grant Ingersoll wrote:
Hi All, (sorry for the cross-post)
For those in NYC, there will be a Lucene ecosystem (Lucene/Solr/
Mahout/Nutch
this
given the problems it *could* create.
That said, I'm not much of an expert on how the offsets are
used, but I'd be really leery of changing them "just for the fun of
it" ..
Best
Erick
On Mon, May 12, 2008 at 12:06 PM, Brendan Grainger <
[EMAIL PROTECTED]> wrote:
Hi,
I have a TokenStream that inserts synonym tokens into the stream when
matched. One thing I am wondering about is what is the effect of the
startOffset and endOffset. I have something like this:
Token synonymToken = new Token(originalToken.startOffset(),
originalToken.endOffset(), "SYN
17 matches
Mail list logo