Hi,
as discussed before, your use case is special and not the natural way of
querying Lucene (you should really only get top-ranking hits from store).
But Lucene is flexible enough since Lucene 4: Just use another codec to encode
stored fields. You need to reindex, but when creating IndexWriter
Hi,
What's proper replacement of "TermDocs termDocs = reader.termDocs(null);“
in lucene 4.x
It seems reader.termDocsEnum(term) can't take null as a input parameter.
Hi,
Thank you very much for the suggestion. Indeed lucene transform seems to be
something that could meet the requirements for the project.
Thank you all for your help and fast answers.
Rafaela
On 4 July 2013 08:52, VIGNESH S wrote:
> Hi Rafaela,
>
> Look at Lucene Transform.It might help to
There's a fair chunk of info on TermDocs and friends in the migration
guide. http://lucene.apache.org/core/4_3_1/MIGRATE.html
Does that cover your question?
--
Ian.
On Mon, Jul 8, 2013 at 12:32 PM, Yonghui Zhao wrote:
> Hi,
>
> What's proper replacement of "TermDocs termDocs = reader.termDocs
Hi everyone,
I am very new in Lucene, so please forgive me if my question is quite stupid.
I spent a whole day to google how to start with Lucene 4.6.1, but failed. I
found some clear tutorials, but they were written for too old Lucene versions
(almost 2).
My tasks are:
I have a folder which c
I am planning to use surround parser for the nested proximity search support
it provides.
Can someone please help me understand the syntax when there are more than
two terms in query?
Here is what I see in their doc.
99n(aa,bb,cc) – unordered span query with slop 98
Does the above surround query
(NOTE: cross-posted to variuous lists, please reply only to general@lucene
w/ any questions or follow ups)
The Call for Papers for Lucene/Solr Revolution EU 2013 is currently open.
http://www.lucenerevolution.org/2013/call-for-papers
Lucene/Solr Revolution is the biggest open source conferen
Sorry for my typo,
I mean Lucene 4.3.1,
Thank Beale from US for that :)
---
Best Regards
Vinh Dang
dqvin...@gmail.com
On Jul 8, 2013, at 9:46 PM, Vinh Dang wrote:
> Hi everyone,
>
> I am very new in Lucene, so please forgive me if my question is quite stupid.
>
> I spent a whole day to g
Well ... at a high level, this is what you should do:
1. Integrate with Apache Tika for parsing the .DOC files (and maybe
other office files you have)
2. Tika extracts the contents of the document, as well as some metadata
3. Create a Lucene Document object to which you add Fields:
Hi Shai,
Thank you very much, I have succeeded with Solr to index and run.
But actually, I expected that I can import Lucene as a library (I am not
Java expert, more familiar with C/C++) and call some Lucene functions.
Could you give me a URL tutorial for Lucene 4 which is useful for Java
newbie
Hi Mike,
I've finally got something running and will send you some performance
numbers as promised shortly. In the meanwhile, I've a question regarding
the use of real time indexing along with ordering by static rank. Before
each search, I do the reopen as follows:
public void refresh() thr
I don't find an elegant solution. reader.termDocs(null) returns
AllTermDocs which doesn't exist in lucene 4.3.
I use this piece of code
Bits liveDocs = reader.getLiveDocs();
for (int i = 0; i < reader.maxDoc(); ++i) {
if (liveDocs != null && !liveDocs.get(i)) {
continue;
Hello,
I am looking for a way to search for a token appearing after another and
retrieve tehir positions.
ex: T1 (...)* T2
I know the SpanTermQuery is doing similar when using the slop parameter,
but I do not want to limit the distance between T1 and T2.
Does anybody have an idea how to solve t
I did: http://www.lucenetutorial.com/lucene-in-5-minutes.html
Also take a look at our demo code:
http://lucene.apache.org/core/4_3_1/demo/src-html/org/apache/lucene/demo/IndexFiles.html
.
Shai
On Tue, Jul 9, 2013 at 5:57 AM, Vinh Đặng wrote:
> Hi Shai,
>
> Thank you very much, I have succeede
14 matches
Mail list logo