On 12/8/2013 12:03 PM, Ted Goldstein wrote:
I am new to Lucene and have begun experimenting. I've loaded both the example
books.csv and the various example electronic components documents. I then do a
variety of queries.
Quering http://su2c-dev.ucsc.edu:8983/solr/select?q=name:A* returns bot
Does numFound different for that two queries or not?
8 Aralık 2013 Pazar tarihinde Ted Goldstein adlı
kullanıcı şöyle yazdı:
> I am new to Lucene and have begun experimenting. I've loaded both the
example books.csv and the various example electronic components documents.
I then do a variety of q
I am new to Lucene and have begun experimenting. I've loaded both the example
books.csv and the various example electronic components documents. I then do a
variety of queries.
Quering http://su2c-dev.ucsc.edu:8983/solr/select?q=name:A* returns both book
entries and electronic component en
Hi,
I have a quick question.
I ran a map reduce code to process text and get the output in the json
format which is like:
{key: [value1,value2]}
All of the above are ids and not text anymore.
There is offcourse a mapping from word:key space
Now, I want to do the following lookup.
Given a new
That was it - thank :)
--- On Tue, 1/11/11, Simon Willnauer wrote:
From: Simon Willnauer
Subject: Re: Newbie question: optimized files?
To: java-user@lucene.apache.org
Date: Tuesday, January 11, 2011, 12:06 AM
Hey,
this looks like you are hitting the optimization done in LUCENE-2773
(https
ene 3.0.3, because I ran
> the test with Lucene 3.0.0 and it worked okay (no junk files)... could anyone
> please confirm?
>
> --- On Mon, 1/10/11, sol myr wrote:
>
> From: sol myr
> Subject: Newbie question: optimized files?
> To: java-user@lucene.apache.org
> Date: Mond
Hi,
Continuing my question - I now suspect a bug in Lucene 3.0.3, because I ran the
test with Lucene 3.0.0 and it worked okay (no junk files)... could anyone
please confirm?
--- On Mon, 1/10/11, sol myr wrote:
From: sol myr
Subject: Newbie question: optimized files?
To: java-user
Hi,
I'm new to Lucene (using 3.0.3), and just started to check out the behavior of
the 'optimize()' method (which is quite important for our application).
Could it be that 'optimize' cancels out the 'compoundFile' mode? Or am I doing
something wrong?
Here's my test: I create an indexWriter wi
Tsadok wrote:
From: Israel Tsadok
Subject: Re: Newbie Question
To: java-user@lucene.apache.org
Date: Sunday, 7 November, 2010, 9:54
(If I may)
In Lucene terminology, an "index" is what would be a "database" in RDBMS
terminology. It's the whole thing.
A document is akin
hanks
>
> --- On Sun, 7/11/10, Senthil wrote:
>
> From: Senthil
> Subject: Re: Newbie Question
> To: java-user@lucene.apache.org
> Date: Sunday, 7 November, 2010, 8:30
>
> Hi,
> I recommend you to try simple indexer and searcher code from book which
> clear the con
Hi,
I recommend you to try simple indexer and searcher code from book which
clear the confusion.
You need to specify the indexing folder and all the fields and values
selected for indexing will stored in that folder. And during search, it
searches from index and get the reference file path for
== document if there is only one document?
Thanks
--- On Sun, 7/11/10, Senthil wrote:
From: Senthil
Subject: Re: Newbie Question
To: java-user@lucene.apache.org
Date: Sunday, 7 November, 2010, 8:30
Hi,
I recommend you to try simple indexer and searcher code from book which
clear the confusion
Hi All,
I'm new to Lucene and have picked up the Lucene in Action book to get started.
Really enjoying it but I have a small nagging question.
Is the index stored in the same "physical document" as the fields and values?
If not, where is it stored and how is it linked.
This is because of this
My guess is you're not using a 2.9-dev (nightly) version of Lucene's jar?
That constructor for FSDirectory is new in 2.9-dev, and the book's
sources are actively tracking Lucene's.
However, you don't need to create your own Makefile: there's an ant
build.xml script. You should be able to just ru
hello list
sory, this is maeby a stupid questin, but i can't resolve. so maeby you can
help me:
i try to compile the indexer-example from the book lucene in action, 2nd
edition (http://www.manning.com/hatcher3/hatcher_meapch1.pdf), but get the
following error:
-
Hi,
instead of the ClassBridge you can just annotate all the properties you
want to index with
@Field and build a BooleanQuery out of the input field. Indexing the
properties into
separate document fields is probably more extendable in the future when
you for example
only want to search on
leanQuery for each
> term?
>
> I am sure there is an example out there...but I haven't found one or have
> misunderstood what I have seen so far. So if there is a something out
> there, could someone direct me to it?
>
> Thanks in advance,
> - Doug
> --
> View this
o far. So if there is a something out
there, could someone direct me to it?
Thanks in advance,
- Doug
--
View this message in context:
http://www.nabble.com/newbie-question-on-querying-on-multiple-attributes-tp21035723p21035723.html
Sent from the Lucene - Java Users mailing list archive at Nabbl
e.lucene.search.MultiSearcher.createWeight(MultiSearcher.java:
311)
at org.apache.lucene.search.Searcher.search(Searcher.java:178)
Thanks!
Julie
--
View this message in context:
http://www.nabble.com/Newbie-Question%3A-Query-Creation-Best-Approach-tp20195065p20195065.h
req(IndexSearcher.java:87)
at org.apache.lucene.search.Searcher.docFreqs(searcher.java:118)
at
org.apache.lucene.search.MultiSearcher.createWeight(MultiSearcher.java:311)
at org.apache.lucene.search.Searcher.search(Searcher.java:178)
Thanks!
Julie
--
View this message in context
Hi Yonik:
A simple RangeFilter did the trick
> public class NotNullRangeFilter extends org.apache.lucene.search.Filter {
>private RangeFilter rangeFilter;
>public BitSet bits(IndexReader reader) throws IOException {
>rangeFilter = RangeFilter.More("lastUpdatedDate"/*Field to sort*
You're on the right track I think... perhaps try using RangeFilter
directly rather than creating your own class. Something like:
Filter filter = RangeFilter.More("lastUpdatedDate","");
searcher.search(query, filter)
If that works for you, then the next step would be to look at
CachingWrapperFilt
Hi Yonik,
Thanks for your reply.
In my case I don't want those document that has Null value for the field
that I am willing to sort
I tried writing my own filter using RangeFilter, but it doesn't work.
I used something like the following in my custom filter.
public class NotNullRangeFilter ext
On Tue, Oct 14, 2008 at 4:35 AM, Reetha Hariharan <[EMAIL PROTECTED]> wrote:
> I am searching using one field, say X and want to sort the results using
> another, say Y (Which can have null values). But I am expecting Sort to
> ignore all the null values and just sort only records that has values i
Hi,
I am a newbie.
I just configured lucene using hibernate search. But I find that the sorting
doesn't ignore null values.
I am searching using one field, say X and want to sort the results using
another, say Y (Which can have null values). But I am expecting Sort to
ignore all the null values
Hi Leonid
If you are not familiar with Oracle XMLDB schema mappings here an
example of how to store WikiPedia XML dumps into Oracle database, but
using XML-to-relational model:
http://marceloochoa.blogspot.com/2007/12/uploading-wikipedia-dumps-to-oracle.html
The structure of WikiPedia dumps s
Tue, Sep 2, 2008 at 11:46 AM, Karsten F.
> > <[EMAIL PROTECTED]>wrote:
> >
> >> Take a look to the xml-aware search in xtf (
> >>
> >>
> http://xtf.wiki.sourceforge.net/tagRef_textIndexer_PreFilter#toctagRef_textIndexer_PreFi
t;
>> Take a look to the xml-aware search in xtf (
>>
>> http://xtf.wiki.sourceforge.net/tagRef_textIndexer_PreFilter#toctagRef_textIndexer_PreFilter7
>> ).
>> The idea is to use one lucene-document for each section with only two
>> fields: "text" and
> So,
> >>I (possibly?) could reuse PrefixQuery functionality or smth. Impacts:
> >> - Strong set of index fields (small)
> >> - Additional information processing - all the queries I'll use
> will
> >> have to work as PrefixQuer
as PrefixQuery
>> - Performance issues?
>>
>>
>> So, have anyone tried to make things work like that? Or am I trying to
>> use
>> wrench to hammer in nails? I assume Lucene wasn't thought to be used like
>> that, but it's worth trying (at l
Any comments, suggestions? Maybe I should rephrase my original message or
describe it in detail?
I really would like to get any response if possible.
Thanks a lot in advance!
On Mon, Sep 1, 2008 at 10:25 AM, Leonid Maslov <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> First of all, sorry for my poor E
AUTOMATIC REPLY
Tom Roberts is out of the office till 2nd September 2008.
LUX reopens on 1st September 2008
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
AUTOMATIC REPLY
Tom Roberts is out of the office till 2nd September 2008.
LUX reopens on 1st September 2008
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
First of all, sorry for my poor English. It's not my native language.
I'm trying to use Lucene to index hierarchical kind of information: I have
structured html and pdf/word documents and I want to index them in ways to
perform search in titles, text, paragraphs or tables only, or any
com
in wrote:
Chris,
-Original Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 9:15 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John Griffin) - fixed
Hi John,
Please ignore my earlier questions on this subject, as I have got
e!
>
> Thanks,
>
> -Chris
> BTW thanks for the tip about Luke
>
>
> John Griffin wrote:
> > Chris,
> >
> > -Original Message-
> > From: Chris Bamford [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 10, 2008 9:15 AM
> >
and 2.3 jars.
Please advise!
Thanks,
-Chris
BTW thanks for the tip about Luke
John Griffin wrote:
Chris,
-Original Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 9:15 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John
Chris,
-Original Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 9:15 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John Griffin) - fixed
Hi John,
Please ignore my earlier questions on this subject, as I have got to the
riginal Message-
From: Chris Bamford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 5:58 AM
To: java-user@lucene.apache.org
Subject: Re: newbie question (for John Griffin)
Hi John,
Further to my question below, I did some back-to-basics investigation of
PhraseQueries and found that ev
Hi John,
Please ignore my earlier questions on this subject, as I have got to the
bottom of it.
I was not passing each word in the phrase as a separate Term to the
query; instead I was passing the whole string (doh!).
Thanks.
- Chris
Chris Bamford wrote:
Hi John,
Further to my question be
Hi John,
Further to my question below, I did some back-to-basics investigation of
PhraseQueries and found that even basic ones fail for me...
I found the attached code on the Internet (see
http://affy.blogspot.com/2003/04/codebit-examples-for-all-of-lucenes.html)
and this fails too... Can you
Hi John,
Just continuing from an earlier question where I asked you how to handle
strings like "from:fred flintston*" (sorry I have lost the original email).
You advised me to write my own BooleanQuery and add to it Prefix- /
Term- / Phrase- Querys as appropriate. I have done so, but am having
Dear All,
I'm relatively new to Java and especially new to Lucene. I study Computational
Linguistics and this term we are required to make projects using Lucene.
My choice was to write a user-friendly application, which could allow user to
crate collections of text files and then search through
a-user@lucene.apache.org
cc
Subject
Re: Newbie question...
Hi Don,
No, Lucene does not require all documents to have the same set
of fields. It is different from a database table - it is all very
flexible. So doc1 can have fields f1, f2, and doc2 can have fields
f2 f3, and doc3 can have only field f
Hi Don,
No, Lucene does not require all documents to have the same set
of fields. It is different from a database table - it is all very
flexible. So doc1 can have fields f1, f2, and doc2 can have fields
f2 f3, and doc3 can have only field f4, and doc4 can have no fields
at all (likely that doc4 w
Hi,
Sorry if this has been explained before, but could not find anything using
the user archive search...
I understand the concept of the fields. What is not clear is if an
document must have all fields that are used in the index or not. Now let
me clarify that some, lets say that there are
ou can search unstored fields. You just can't reconstruct the input
with 100% fidelity (things like stop words will be missing, and any funky
games you played during indexing will mess up an attempt to reconstruct the
data).
Hope this helps.
Erick
-los
>From: Erik Hatcher <[EMAIL
type makes sense to me (with data
being
> a String), as well as the type "keyword".
>
> Is there a scenario or scenarios you can describe where
Unindexed/Unstored
> will be useful? Thanks in advanced!
>
> -los
>
>
> >From: Erik Hatcher <[EMAIL PROTECTED]>
&g
MAIL PROTECTED]>
Reply-To: java-user@lucene.apache.org
To: java-user@lucene.apache.org
Subject: Re: lucene newbie question
Date: Mon, 2 Oct 2006 14:12:25 -0400
On Oct 2, 2006, at 2:08 PM, Los Morales wrote:
I'm new to Lucene and IR in general. I'm a bit confused on the concept
of fields. From
On Oct 2, 2006, at 2:08 PM, Los Morales wrote:
I'm new to Lucene and IR in general. I'm a bit confused on the
concept of fields. From what I've read, a field does not have to
be indexed but its value can be stored in an index. Likewise a
field can be indexed but its value is not stored i
Hi,
I'm new to Lucene and IR in general. I'm a bit confused on the concept of
fields. From what I've read, a field does not have to be indexed but its
value can be stored in an index. Likewise a field can be indexed but its
value is not stored in an index. Now how can a field be searchable
ed the sortable
> fields as 'stored' then the process above would preserve those
> fields and hence sorting would proceed as normal.
>
> Does that make sense?
>
> Thanks
>
> Alan
>
> -Original Message-
> From: Erick Erickson [mailto:[EMAIL PROTECTED
ould preserve those
fields and hence sorting would proceed as normal.
Does that make sense?
Thanks
Alan
-Original Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 18:00
To: java-user@lucene.apache.org
Cc:
Subject:Re: Newbie question: lucene sort
On 9/14/06, Alan Boshier <[EMAIL PROTECTED]> wrote:
That was my understanding (that they had to be indexed) but
making them stored seems to have fixed the problem we were
seeing, which is odd.
Not being an expert on how lucene works internally, I'm
struggling to see how this change could have ma
Original Message-
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 17:18
To: java-user@lucene.apache.org
Cc:
Subject:RE: Newbie question: lucene sorting problems and stored
fields
AFIK, the field has to be indexed, but I don't think it
On 9/14/06, Alan Boshier <[EMAIL PROTECTED]> wrote:
Is it a requirement when creating a field for sorting to
make it stored?
No, stored doesn't matter... it must be indexed though.
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
-
ssage-
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 17:18
To: java-user@lucene.apache.org
Cc:
Subject: RE: Newbie question: lucene sorting problems and stored fields
AFIK, the field has to be indexed, but I don't think it has to be stored
apache.org
Subject: Newbie question: lucene sorting problems and stored fields
Hi
We are seeing intermittent problems with searches that use sorted fields
(in lucene 1.4.3).
If we add the fields to our Documents as 'unstored' then we start to see
results that have been sorted by Document I
Hi
We are seeing intermittent problems with searches that use
sorted fields (in lucene 1.4.3).
If we add the fields to our Documents as 'unstored' then
we start to see results that have been sorted by Document ID.
The problem goes away if we add the fields as 'stored'.
Is it a requirement when
Hi! For starters I want to apologize if this is the wrong place to post a
Cocoon-Lucene question.
This is my first encounter with Lucene. I am trying to integrate it with
Cocoon. From what I read so far I prefer the approach with
LuceneIndexTransformer. Here is where I need some assistance. Fro
: > : For example, given this data:
: > :
: > : author: a b c
: > : author: d e f
: > : a search for "a SAME c" would match the first row, but "a SAME d"
: > would
: > : match nothing, which is what I want.
: No, both fields are in the same document. Which is also why proximity
: does not work.
: For example, given this data:
:
: author: a b c
: author: d e f
:
: a search for "a SAME c" would match the first row, but "a SAME d"
would
: match nothing, which is what I want.
if i understand you correctly, then you are describing a use case
in which
the index has two documents, each co
: For example, given this data:
:
: author: a b c
: author: d e f
:
: a search for "a SAME c" would match the first row, but "a SAME d" would
: match nothing, which is what I want.
if i understand you correctly, then you are describing a use case in which
the index has two documents, each contain
Is there a way to tell Lucene to restrict proximity searches to just one field?
This would mimic the BRS/Search SAME-operator, which I use very often.
For example, given this data:
author: a b c
author: d e f
a search for "a SAME c" would match the first row, but "a SAME d" would match
nothing
40 PM, Peter Gelderbloem wrote:
I wonder what would happen
An exception :)
Peter Gelderbloem -Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: 27 July 2005 17:36
To: java-user@lucene.apache.org
Subject: Re: Quick newbie question
On Jul 27, 2005, at 12:22 PM, A
:[EMAIL PROTECTED]
Sent: 27 July 2005 17:36
To: java-user@lucene.apache.org
Subject: Re: Quick newbie question
On Jul 27, 2005, at 12:22 PM, Andrew Boyd wrote:
Of course you can do the inverse of what Erik said.
That is search for a term that you know is not in the index and use
the NOT operator
On Jul 27, 2005, at 12:40 PM, Peter Gelderbloem wrote:
I wonder what would happen
An exception :)
Peter Gelderbloem -Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: 27 July 2005 17:36
To: java-user@lucene.apache.org
Subject: Re: Quick newbie question
On Jul 27
I wonder what would happen
Peter Gelderbloem -Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: 27 July 2005 17:36
To: java-user@lucene.apache.org
Subject: Re: Quick newbie question
On Jul 27, 2005, at 12:22 PM, Andrew Boyd wrote:
> Of course you can do the inve
ndrew
-Original Message-
From: Erik Hatcher <[EMAIL PROTECTED]>
Sent: Jul 27, 2005 10:49 AM
To: java-user@lucene.apache.org
Subject: Re: Quick newbie question
On Jul 27, 2005, at 11:07 AM, Federico Tonioni wrote:
Hi all!
I have just a simple question
How can I retrieve all docu
Quick newbie question
On Jul 27, 2005, at 11:07 AM, Federico Tonioni wrote:
> Hi all!
> I have just a simple question
>
> How can I retrieve all documents in an index by using QueryParser?
> I thought
>
> Query query = QueryParser.parse("*", "contents&qu
On Jul 27, 2005, at 11:07 AM, Federico Tonioni wrote:
Hi all!
I have just a simple question
How can I retrieve all documents in an index by using QueryParser?
I thought
Query query = QueryParser.parse("*", "contents",
new StandardAnalyzer());
might be the solution, but it
Hi all!
I have just a simple question
How can I retrieve all documents in an index by using QueryParser?
I thought
Query query = QueryParser.parse("*", "contents",
new StandardAnalyzer());
might be the solution, but it's not:)
thanks in advance
fede
--
-
On Jun 29, 2005, at 1:12 AM, Xing Li wrote:
1) Downloaded 1.4.3 src
2) ran ant... everything builds
3) $ cd builds
4) $ java -jar lucene-1.5-rc1-dev.jar
Failed to load Main-Class manifest attribute from
lucene-1.5-rc1-dev.jar
I haven't build anything java for almost 5 years so not sure wha
Which main class would you expect to run ?
I don't think there's one.
Lucene is a library.
paul
PS: this has nothing MacOSX specific
Le 29 juin 05, à 10:12, Xing Li a écrit :
1) Downloaded 1.4.3 src
2) ran ant... everything builds
3) $ cd builds
4) $ java -jar lucene-1.5-rc1-dev.jar
1) Downloaded 1.4.3 src
2) ran ant... everything builds
3) $ cd builds
4) $ java -jar lucene-1.5-rc1-dev.jar
Failed to load Main-Class manifest attribute from
lucene-1.5-rc1-dev.jar
I haven't build anything java for almost 5 years so not sure what it
means. Did a good search online on the e
ormat changed, you will need to replace the Jar and
rebuild your index(es) with the new Jar.
Otis
--- Luis Medina <[EMAIL PROTECTED]> wrote:
> Newbie question here,
> is upgrading Lucene as easy as replacing the old Jar file with a
> newer
> version's Jar file? or do I need to
On Mar 30, 2005, at 4:42 PM, Luis Medina wrote:
Newbie question here,
is upgrading Lucene as easy as replacing the old Jar file with a newer
version's Jar file? or do I need to recompile the application's code?
Try it and see :)
It should work fine by replacing the JAR, with no rec
Newbie question here,
is upgrading Lucene as easy as replacing the old Jar file with a newer
version's Jar file? or do I need to recompile the application's code?
Thanks,
Luis
-
To unsubscribe, e-mail: [EMAIL PROT
78 matches
Mail list logo