Re: full text search in multiple fields

2010-12-23 Thread PeterKerk
@iorixxx: removing that line did solve the problem, thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2138629.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-23 Thread Erick Erickson
that location: > &q=id:431&fl=id,title > the location is found, so it IS indexed... > > > But this query DOESNT work: > > &q=title_search:tuinkamer*&defType=lucene&fl=id,title > > And this one DOES: > &q=title_search:tuin*&defType=lucene&fl=id,t

Re: full text search in multiple fields

2010-12-23 Thread Ahmet Arslan
> But for another location, which value in DB is: "de > tuinkamer" > > When I query the id of that location: > &q=id:431&fl=id,title > the location is found, so it IS indexed... > > > But this query DOESNT work: > > &q=title_search:tuinkamer*&defType=lucene&fl=id,title > > And this one DOES: >

Re: full text search in multiple fields

2010-12-23 Thread PeterKerk
View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2137983.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-23 Thread PeterKerk
Correct! Thanks again, it now works! :) -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2137284.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-22 Thread PeterKerk
le -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2134044.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-22 Thread Ahmet Arslan
> > When I do: > &q=title_search:Pappegay*&defType=lucene&q=*:*&fl=id,title > > nothing is found. > This is expected since you have lowercase filter in your index analyzer. Wildcard searches are not analyzed. So you need to lowercase your query on client side. &q=title_search:pappegay*&defTyp

Re: full text search in multiple fields

2010-12-22 Thread Ahmet Arslan
> > When I do: > &q=title_search:Pappegay*&defType=lucene&q=*:*&fl=id,title > > nothing is found. > > but if I do: > &q=title_search:Pappegay&defType=lucene&q=*:*&fl=id,title > > the location IS found. > > I do need a wildcard though, since users may also search on > parts of the > title (as d

Re: full text search in multiple fields

2010-12-22 Thread PeterKerk
search on parts of the title (as described earlier in this post). But this looks almost as if the location is not found if the wildcard is on the end and the searched string is no longer than the position of the wildcard(if that makes sense :) -- View this message in context: http://lucene.472066.n

Re: full text search in multiple fields

2010-12-22 Thread Ahmet Arslan
> > The name of the location in the database is: > "Museumrestaurant De Pappegay" What was the wildcard query for this?

Re: full text search in multiple fields

2010-12-22 Thread PeterKerk
cene&fl=title,title_search NO DOC FOUND: http://localhost:8983/solr/db/select/?indent=on&facet=true&sort=membervalue%20desc&sort=location_rating%20desc&q=title:%22pappegay%22&defType=lucene&fl=title,title_search -- View this message in context: http://lucene.472066.

Re: full text search in multiple fields

2010-12-22 Thread Ahmet Arslan
> Certainly did! > Why, are you saying this code is correct as-is? Yes, the query &q=title_search:hort*&defType=lucene should return documents having "Hortus supremus" in their title field with the configurations you send us. It should exists somewhere in the result set, if not in the top 10.

Re: full text search in multiple fields

2010-12-22 Thread PeterKerk
Certainly did! Why, are you saying this code is correct as-is? -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2133022.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-22 Thread Jonathan Rochkind
Did you reindex after you changed your analyzers? On 12/22/2010 12:57 PM, PeterKerk wrote: Hi guys, There's one more thing to get this code to work as I need I just found out... Im now using:&q=title_search:hort*&defType=lucene as iorixxx suggested. it works good BUT, this query doesnt find r

Re: full text search in multiple fields

2010-12-22 Thread PeterKerk
-- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2132659.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-13 Thread PeterKerk
whoops :) It was directed at iorixxx, in the first post before me -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2079581.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-12 Thread Dennis Gearon
7:35 PM Subject: Re: full text search in multiple fields I went for the * operator, and it works now! Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2075140.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-12 Thread PeterKerk
I went for the * operator, and it works now! Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2075140.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-12-11 Thread Ahmet Arslan
> There's a location with title: hortus rodondendrus > > This location is found using this query: > http://localhost:8983/solr/db/select/?indent=on&q=hortus&defType=dismax&qf=title_search^20.0 > But not when using this query: > http://localhost:8983/solr/db/select/?indent=on&q=hort&defType=dismax&

Re: full text search in multiple fields

2010-12-11 Thread PeterKerk
What should I add for this to be indexed in such a way that word parts are also found? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p2070528.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-11-15 Thread PeterKerk
@Erick: Nope, those fields indeed arent chainable, I used iorixxx's solution and now it works. :) -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p1903486.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-11-14 Thread Erick Erickson
nowhere (unless I overlooked it) do you ever populate city_search in the first place, it's simply defined.. Also, I don't think (but check it) that is chainable. I don't *think* that will populate citytext_search. Ahmet's suggestion to do two s with source="city" is spot-on Best Erick On

Re: full text search in multiple fields

2010-11-14 Thread Ahmet Arslan
> but I dont understand why its not indexed. Probably something wrong with data-config.xml. > So you can see, that the city field DOES index some data, > whereas the > city_search and citytext_search have NO data at all... Then populate these two fields from city via copyField. It is 100% legal

Re: full text search in multiple fields

2010-11-14 Thread PeterKerk
e any more info on what I did wrong Do you have any suggestion? -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p1901551.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-11-14 Thread Ahmet Arslan
> both queries give me 0 results... Then your field(s) is not populated. You can debug on /admin/dataimport.jsp or /admin/schema.jsp

Re: full text search in multiple fields

2010-11-14 Thread PeterKerk
both queries give me 0 results... -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p1900648.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-11-14 Thread Ahmet Arslan
--- On Sun, 11/14/10, PeterKerk wrote: > From: PeterKerk > Subject: Re: full text search in multiple fields > To: solr-user@lucene.apache.org > Date: Sunday, November 14, 2010, 8:52 PM > > Ok, thanks. it works now for title and description fields. > :) > > But

Re: full text search in multiple fields

2010-11-14 Thread PeterKerk
ty field is "amsterdam" but no results are found. and yes: restarted server, reloaded data-config, did a full import. -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p1900535.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-11-13 Thread Ahmet Arslan
> I checked the url: http://wiki.apache.org/solr/DisMaxQParserPlugin > > When I execute this url on my local machine: > http://localhost:8983/solr/select/?q=video&qt=defType=dismax&qf=features^20.0+text^0.3 > > I get the error: unknown handler: defType=dismax > > So where can I download that han

Re: full text search in multiple fields

2010-11-13 Thread PeterKerk
e=dismax So where can I download that handler and how should I include it in my schema.xml? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p1893625.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: full text search in multiple fields

2010-11-12 Thread Erick Erickson
(by default) provide an or operator, I thought I > should somehow combine these fields into 1 field and THEN search that > single > field. > > Is that correct and if so, how would I do that? > > Thanks! > -- > View this message in context: > http://lucene.472066.n3.nabbl

Re: full text search in multiple fields

2010-11-12 Thread Ahmet Arslan
--- On Fri, 11/12/10, PeterKerk wrote: > From: PeterKerk > Subject: full text search in multiple fields > To: solr-user@lucene.apache.org > Date: Friday, November 12, 2010, 1:32 PM > > I want to provide a full text search function. > > This function has to sea

Re: full text search in multiple fields

2010-11-12 Thread Tommaso Teofili
Hi, 2010/11/12 PeterKerk > > I want to provide a full text search function. > > This function has to search through the 2 fields: "title" and "description" > that I have defined in my schema.xml (both of type "string"). > > Now, since solr doesnt (by default) provide an or operator, I don't th

full text search in multiple fields

2010-11-12 Thread PeterKerk
d somehow combine these fields into 1 field and THEN search that single field. Is that correct and if so, how would I do that? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/full-text-search-in-multiple-fields-tp1888328p1888328.html Sent from the Solr - User mailing list archive at Nabble.com.